Click here to Skip to main content
15,897,151 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRestarting a running program Pin
pma27-Apr-04 23:57
pma27-Apr-04 23:57 
GeneralRe: Restarting a running program Pin
22491728-Apr-04 0:03
22491728-Apr-04 0:03 
GeneralRe: Restarting a running program Pin
Prakash Nadar28-Apr-04 0:32
Prakash Nadar28-Apr-04 0:32 
GeneralRe: Restarting a running program Pin
22491728-Apr-04 0:57
22491728-Apr-04 0:57 
GeneralRe: Restarting a running program Pin
Jitendra gangwar28-Apr-04 0:33
Jitendra gangwar28-Apr-04 0:33 
GeneralRe: Restarting a running program Pin
22491728-Apr-04 0:51
22491728-Apr-04 0:51 
GeneralRe: Restarting a running program Pin
Jitendra gangwar28-Apr-04 1:05
Jitendra gangwar28-Apr-04 1:05 
GeneralRe: Restarting a running program Pin
Member 101882328-Apr-04 2:16
Member 101882328-Apr-04 2:16 
PostQuitMessage(0);
form within another UI Thread will not exit the application.

But PostMessage(hWnd,WM_QUIT,0,0);

will be caught by the underlying handlers and the application will get exited for sure, provided its the handle to the main window.

so i feel suhredyan's method atleast ensures that the application is exited.
GeneralRe: Restarting a running program Pin
Jitendra gangwar28-Apr-04 2:33
Jitendra gangwar28-Apr-04 2:33 
GeneralRe: Restarting a running program Pin
pma28-Apr-04 12:02
pma28-Apr-04 12:02 
GeneralBatch files for Visual source safe Pin
Md Saleem Navalur27-Apr-04 23:26
Md Saleem Navalur27-Apr-04 23:26 
GeneralRe: Batch files for Visual source safe Pin
Anonymous27-Apr-04 23:42
Anonymous27-Apr-04 23:42 
GeneralRe: Batch files for Visual source safe Pin
Steve S28-Apr-04 1:28
Steve S28-Apr-04 1:28 
GeneralOpenGL with ScrollBars Pin
Alex11197527-Apr-04 22:45
Alex11197527-Apr-04 22:45 
GeneralRe: OpenGL with ScrollBars Pin
Antti Keskinen28-Apr-04 1:06
Antti Keskinen28-Apr-04 1:06 
GeneralRe: OpenGL with ScrollBars Pin
Orhun Birsoy28-Apr-04 10:17
Orhun Birsoy28-Apr-04 10:17 
GeneralRe: OpenGL with ScrollBars Pin
Alex11197528-Apr-04 22:31
Alex11197528-Apr-04 22:31 
QuestionRight click on tree ctrl - tooltip? Pin
Anonymous27-Apr-04 22:37
Anonymous27-Apr-04 22:37 
AnswerRe: Right click on tree ctrl - tooltip? Pin
thowra28-Apr-04 1:50
thowra28-Apr-04 1:50 
GeneralRe: Right click on tree ctrl - tooltip? Pin
Anonymous28-Apr-04 3:08
Anonymous28-Apr-04 3:08 
GeneralOperator Pin
Anonymous27-Apr-04 21:39
Anonymous27-Apr-04 21:39 
GeneralRe: Operator Pin
Michael Dunn27-Apr-04 21:45
sitebuilderMichael Dunn27-Apr-04 21:45 
GeneralRe: Operator Pin
Cedric Moonen27-Apr-04 21:49
Cedric Moonen27-Apr-04 21:49 
GeneralRe: Operator Pin
Cedric Moonen27-Apr-04 21:56
Cedric Moonen27-Apr-04 21:56 
GeneralRe: Operator Pin
Anonymous27-Apr-04 22:32
Anonymous27-Apr-04 22:32 

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.