PostMessage and MSG handler
-
I have a regular DLL using MFC and within this DLL is a worker thread. While this thread is running, it is trying to update a dialog box (owned by the DLL) with some information on the thread's progress. Everything works OK except that the WPARAM and LPARAM values I pass to the dialog are not getting through, and are always zero. Is there some special reason for this?
-
I have a regular DLL using MFC and within this DLL is a worker thread. While this thread is running, it is trying to update a dialog box (owned by the DLL) with some information on the thread's progress. Everything works OK except that the WPARAM and LPARAM values I pass to the dialog are not getting through, and are always zero. Is there some special reason for this?
While this thread is running, it is trying to update a dialog box (owned by the DLL) with some information on the thread's progress. Can you post the code running in worker thread that updates the dialog? Tomasz Sowinski -- http://www.shooltz.com
-
While this thread is running, it is trying to update a dialog box (owned by the DLL) with some information on the thread's progress. Can you post the code running in worker thread that updates the dialog? Tomasz Sowinski -- http://www.shooltz.com
thanks, but I didcovered a much simpler way to do this, which works well.