Click here to Skip to main content
16,004,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralThreads w/ Message loop(UI threads) in Win32 without MFC HELP!!!! Pin
O. Rodriguez13-Oct-04 14:54
sussO. Rodriguez13-Oct-04 14:54 
GeneralRe: Threads w/ Message loop(UI threads) in Win32 without MFC HELP!!!! Pin
Sujan Christo13-Oct-04 20:34
Sujan Christo13-Oct-04 20:34 
GeneralRe: Threads w/ Message loop(UI threads) in Win32 without MFC HELP!!!! Pin
O Rodriguez14-Oct-04 3:55
sussO Rodriguez14-Oct-04 3:55 
GeneralRe: Threads w/ Message loop(UI threads) in Win32 without MFC HELP!!!! Pin
Blake Miller14-Oct-04 4:36
Blake Miller14-Oct-04 4:36 
GeneralRe: Threads w/ Message loop(UI threads) in Win32 without MFC HELP!!!! Pin
O. Rodriguez14-Oct-04 5:29
sussO. Rodriguez14-Oct-04 5:29 
GeneralRe: Threads w/ Message loop(UI threads) in Win32 without MFC HELP!!!! Pin
Blake Miller14-Oct-04 6:32
Blake Miller14-Oct-04 6:32 
GeneralRe: Threads w/ Message loop(UI threads) in Win32 without MFC HELP!!!! Pin
O. Rodriguez14-Oct-04 6:51
sussO. Rodriguez14-Oct-04 6:51 
GeneralRe: Threads w/ Message loop(UI threads) in Win32 without MFC HELP!!!! Pin
Blake Miller14-Oct-04 7:14
Blake Miller14-Oct-04 7:14 
If you are waiting on a thread or process handle, they are not 'signaled' until the thread or process exits. You can wait on a process handle from a call to CreateProcess, for exmaple, to detect that the created process has terminated. If the main thread of oyur program creates one or more secondary threads, you can put the thread handles into an array, and be 'signaled' when one of the threads exits. However, since you said your thread also made a window, you need to use MsgWaitForMultipleObjects so that your thread can process the window messages.

GeneralRe: Threads w/ Message loop(UI threads) in Win32 without MFC HELP!!!! Pin
O. Rodriguez14-Oct-04 8:54
sussO. Rodriguez14-Oct-04 8:54 
GeneralRe: Threads w/ Message loop(UI threads) in Win32 without MFC HELP!!!! Pin
Blake Miller15-Oct-04 4:15
Blake Miller15-Oct-04 4:15 
GeneralHooking GetCursorPos() Pin
Falcon21313-Oct-04 12:33
Falcon21313-Oct-04 12:33 
GeneralRe: Hooking GetCursorPos() Pin
SuperTank13-Oct-04 12:42
SuperTank13-Oct-04 12:42 
GeneralRe: Hooking GetCursorPos() Pin
Falcon21313-Oct-04 12:51
Falcon21313-Oct-04 12:51 
GeneralRe: Hooking GetCursorPos() Pin
Falcon21313-Oct-04 17:52
Falcon21313-Oct-04 17:52 
GeneralI can´t move my dialogbox Pin
SuperTank13-Oct-04 12:01
SuperTank13-Oct-04 12:01 
GeneralRe: I can´t move my dialogbox Pin
Ryan Binns13-Oct-04 18:31
Ryan Binns13-Oct-04 18:31 
GeneralRe: I can´t move my dialogbox Pin
Michael Dunn13-Oct-04 20:14
sitebuilderMichael Dunn13-Oct-04 20:14 
QuestionHow to make Rounded or irregular shape Dialog in Windows CE? Pin
mutpan13-Oct-04 11:54
mutpan13-Oct-04 11:54 
AnswerRe: How to make Rounded or irregular shape Dialog in Windows CE? Pin
GDavy13-Oct-04 19:48
GDavy13-Oct-04 19:48 
GeneralRe: How to make Rounded or irregular shape Dialog in Windows CE? Pin
mutpan14-Oct-04 1:01
mutpan14-Oct-04 1:01 
Generalwhy it dont work Pin
ANDYFA13-Oct-04 10:34
ANDYFA13-Oct-04 10:34 
GeneralRe: why it dont work Pin
Christian Graus13-Oct-04 10:50
protectorChristian Graus13-Oct-04 10:50 
GeneralRe: why it dont work Pin
David Crow13-Oct-04 10:52
David Crow13-Oct-04 10:52 
GeneralRe: why it dont work Pin
Maximilien13-Oct-04 11:19
Maximilien13-Oct-04 11:19 
GeneralRe: why it dont work Pin
Anonymous13-Oct-04 11:38
Anonymous13-Oct-04 11:38 

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.