Click to See Complete Forum and Search --> : worker thread postmessage help needed


bobbylee
October 30th, 2004, 01:41 PM
hello there,i am a newbie to threaded programming and I am working on a project in evc++.In this i am creating a worker thread that has to send data to be displayed on the combobox control of the gui dialog box.I am plannig to use postmessage.The problems-

1>How to get the window id os the dialog box from the thread.
2>How to post the message?
3>Who will process the message if I sent the things like postmessage(findstringexact....).
4>If i have to process the message then where do i put that code?
5>how will i get reply from the posted message?


thankyou in advance.

Zim327
November 1st, 2004, 11:29 AM
this thread should help you. You'll have to scroll down a bit to find the section on Posting messages from a thread
http://www.codeguru.com/forum/showthread.php?t=314986