Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC++ UI Design Pin
alex.barylski30-Dec-02 21:28
alex.barylski30-Dec-02 21:28 
GeneralRe: VC++ UI Design Pin
jc001-Jan-03 19:25
jc001-Jan-03 19:25 
QuestionHow to remove Components Pin
SamirSood30-Dec-02 18:20
SamirSood30-Dec-02 18:20 
AnswerRe: How to remove Components Pin
super30-Dec-02 19:11
professionalsuper30-Dec-02 19:11 
AnswerRe: How to remove Components Pin
alex.barylski30-Dec-02 21:31
alex.barylski30-Dec-02 21:31 
GeneralExitProcess Pin
r i s h a b h s30-Dec-02 17:26
r i s h a b h s30-Dec-02 17:26 
GeneralRe: ExitProcess Pin
NormDroid30-Dec-02 22:58
professionalNormDroid30-Dec-02 22:58 
GeneralRe: ExitProcess Pin
Alvaro Mendez31-Dec-02 4:08
Alvaro Mendez31-Dec-02 4:08 
TerminateProcess will just kill the process abruptly. If this is not a problem for the processes you're creating, then fine. However, if you need to end these processes gracefully, then you need to communicate with them that it's time to exit.

ExitProcess only works for the current process so you need to find another route. One way is like Norm suggested: send a message to the main window to destroy itself (PostQuitMessage). Another is for those processes to monitor a shared memory variable or perhaps a file and exit when a certain condition is met.

Regards,
Alvaro


Well done is better than well said. -- Benjamin Franklin
(I actually prefer medium-well.)
Generalsome light please Pin
Shotgun30-Dec-02 16:23
Shotgun30-Dec-02 16:23 
GeneralPocket PC Image Display Pin
sparky0130-Dec-02 14:49
sparky0130-Dec-02 14:49 
Questionwindow? Pin
imran_rafique30-Dec-02 13:20
imran_rafique30-Dec-02 13:20 
GeneralAfxGetResourceHandle() Fails Pin
Swinefeaster30-Dec-02 11:48
Swinefeaster30-Dec-02 11:48 
GeneralRe: AfxGetResourceHandle() Fails Pin
Ancient Dragon31-Dec-02 1:50
Ancient Dragon31-Dec-02 1:50 
GeneralRe: AfxGetResourceHandle() Fails Pin
Swinefeaster31-Dec-02 12:12
Swinefeaster31-Dec-02 12:12 
GeneralEdit control: only works once Pin
jimNLX30-Dec-02 11:26
jimNLX30-Dec-02 11:26 
GeneralRe: Edit control: only works once Pin
Alvaro Mendez30-Dec-02 11:46
Alvaro Mendez30-Dec-02 11:46 
GeneralRe: Edit control: only works once Pin
jimNLX31-Dec-02 5:40
jimNLX31-Dec-02 5:40 
GeneralRe: Edit control: only works once Pin
Alvaro Mendez31-Dec-02 6:32
Alvaro Mendez31-Dec-02 6:32 
GeneralRe: Edit control: only works once Pin
jimNLX31-Dec-02 7:34
jimNLX31-Dec-02 7:34 
GeneralRe: Edit control: only works once Pin
Alvaro Mendez6-Jan-03 17:57
Alvaro Mendez6-Jan-03 17:57 
GeneralRe: Edit control: only works once Pin
Anonymous7-Jan-03 10:30
Anonymous7-Jan-03 10:30 
GeneralOnIdle function eats up 100% of the processor Pin
Florin Ochiana30-Dec-02 10:52
Florin Ochiana30-Dec-02 10:52 
GeneralRe: OnIdle function eats up 100% of the processor Pin
pba_30-Dec-02 11:08
pba_30-Dec-02 11:08 
GeneralRe: OnIdle function eats up 100% of the processor Pin
Paul Oss30-Dec-02 19:35
Paul Oss30-Dec-02 19:35 
GeneralRe: OnIdle function eats up 100% of the processor Pin
Anonymous31-Dec-02 1:35
Anonymous31-Dec-02 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.