Subj : Re: How to get the handle of thread who sending a message? To : comp.programming.threads From : eg Date : Fri Jan 14 2005 11:01 pm Liu Pingkai wrote: > There is a thread A sending some message to the Main Window thread, > the main window get the message, and do some work about the thread A > in MainWndProc. But How could the routine get the thread handle just > from this message? If it is a user defined windows message, you can pass the necessary info as one of the message params. .