|
Similar to what I needed help with a few days
ago. I would like to set up a thread to handle messages posted from a DLL
using PostMessage. I've created a thread object with an extra variable to
store the handle from AllocateHWnd, and assigned this to the DLL's parent
handle.
I'm not sure whether I need to provide an
Thread.Execute procedure since I'm not executing anything. I currently
don't have one and I've set FreeOnTerminate to False.
Messages are being received by the WndProc
procedure defined in the thread object but I'm not so sure that messages
are being processed as they arrive. I may be wrong but I'm wondering if
the WndProc procedure is executing in the main thread.
Is what I have done sound right?
Thanks,
Ross.
|
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
