ely_g
December 6th, 2004, 09:16 AM
Hi there,
I have to use in my code the function PostMessage to send a message from a thread to the window in which the thread is launched.
How can I retreive a handle to this window? I tried with AfxGetMainWnd but nothing happens, so is there a method useful to solve my problem?
Thank you in advance
I have to use in my code the function PostMessage to send a message from a thread to the window in which the thread is launched.
How can I retreive a handle to this window? I tried with AfxGetMainWnd but nothing happens, so is there a method useful to solve my problem?
Thank you in advance