|
-
May 4th, 1999, 09:16 AM
#3
Re: AfxBeginThread - Threads and Doc/View
I have achieved something like this by passing the hWnd if the View in the pParam.
Then in the worker thread I use
::SendMessage(hWnd, WM_XXXXXXX, ..., ...);
Where WM_XXXXX is a custom defined message.
Note: if you use PostMessage you must ensure that the message is processed before the string you are using goes out of scope
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|