Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to load a bitmap from file? Pin
Dirk van Boxel15-Mar-11 5:28
Dirk van Boxel15-Mar-11 5:28 
QuestionHow to hide a menuitem when it's unnecessary Pin
Jokcy14-Mar-11 21:49
Jokcy14-Mar-11 21:49 
AnswerRe: How to hide a menuitem when it's unnecessary Pin
Niklas L14-Mar-11 22:09
Niklas L14-Mar-11 22:09 
AnswerRe: How to hide a menuitem when it's unnecessary Pin
«_Superman_»15-Mar-11 20:34
professional«_Superman_»15-Mar-11 20:34 
QuestionParseDateTime restun false with diffrent regional settings Pin
Le@rner14-Mar-11 18:34
Le@rner14-Mar-11 18:34 
AnswerRe: ParseDateTime restun false with diffrent regional settings Pin
Richard MacCutchan15-Mar-11 4:28
mveRichard MacCutchan15-Mar-11 4:28 
QuestionStarting Process Using VC++ Pin
AmbiguousName14-Mar-11 4:24
AmbiguousName14-Mar-11 4:24 
AnswerRe: Starting Process Using VC++ Pin
Cool_Dev14-Mar-11 4:56
Cool_Dev14-Mar-11 4:56 
See CreateProcess Function. You may use lpCommandLine parameter to pass commandline arguments to the process.

See the example Creating Processes under the documentation.

See here How To Terminate an Application "Cleanly" in Win32. You can do WaitForSingleObject() on the process handle (which you get from hProcess member of PROCESS_INFORMATION structure that you used in CreateProcess), to check whether the process has been terminated. If not, you can forcefully terminate it by calling TerminateProcess Function.
GeneralRe: Starting Process Using VC++ Pin
Albert Holguin14-Mar-11 9:03
professionalAlbert Holguin14-Mar-11 9:03 
AnswerRe: Starting Process Using VC++ Pin
Niklas L14-Mar-11 9:43
Niklas L14-Mar-11 9:43 
QuestionHow to change the font-size of a popup-menue (MFC, VC6) Pin
Erik14-Mar-11 2:42
Erik14-Mar-11 2:42 
AnswerRe: How to change the font-size of a popup-menue (MFC, VC6) Pin
Cool_Dev14-Mar-11 5:07
Cool_Dev14-Mar-11 5:07 
GeneralRe: How to change the font-size of a popup-menue (MFC, VC6) Pin
Erik14-Mar-11 19:31
Erik14-Mar-11 19:31 
GeneralRe: How to change the font-size of a popup-menue (MFC, VC6) Pin
Cool_Dev14-Mar-11 22:22
Cool_Dev14-Mar-11 22:22 
GeneralRe: How to change the font-size of a popup-menue (MFC, VC6) Pin
Erik15-Mar-11 0:08
Erik15-Mar-11 0:08 
QuestionHow can handle dateandtime control value for different regional language? [modified] Pin
Le@rner13-Mar-11 21:21
Le@rner13-Mar-11 21:21 
AnswerRe: How can handle dateandtime control value for different regional language? Pin
Hans Dietrich13-Mar-11 22:52
mentorHans Dietrich13-Mar-11 22:52 
GeneralRe: How can handle dateandtime control value for different regional language? Pin
Le@rner13-Mar-11 23:19
Le@rner13-Mar-11 23:19 
GeneralRe: How can handle dateandtime control value for different regional language? Pin
Hans Dietrich13-Mar-11 23:29
mentorHans Dietrich13-Mar-11 23:29 
GeneralRe: How can handle dateandtime control value for different regional language? Pin
Le@rner13-Mar-11 23:31
Le@rner13-Mar-11 23:31 
AnswerRe: How can handle dateandtime control value for different regional language? Pin
Luc Pattyn13-Mar-11 23:54
sitebuilderLuc Pattyn13-Mar-11 23:54 
GeneralRe: How can handle dateandtime control value for different regional language? Pin
Le@rner14-Mar-11 0:00
Le@rner14-Mar-11 0:00 
GeneralRe: How can handle dateandtime control value for different regional language? Pin
Luc Pattyn14-Mar-11 0:13
sitebuilderLuc Pattyn14-Mar-11 0:13 
GeneralRe: How can handle dateandtime control value for different regional language? [modified] Pin
Le@rner14-Mar-11 1:18
Le@rner14-Mar-11 1:18 
GeneralRe: How can handle dateandtime control value for different regional language? Pin
Luc Pattyn14-Mar-11 1:35
sitebuilderLuc Pattyn14-Mar-11 1:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.