If (dResult==WAIT_OBJECT_0)//thread exit break; Else if (dResult==WAIT_OBJECT_0 + 1)//a message to { While (PeekMessage (& amp; MSG, NULL, 0, 0, PM_REMOVE)) { TranslateMessage (& amp; MSG); DispatchMessage (& amp; MSG); } } }
Thread creation is no problem, but while this section in the file is loaded in this thread will work and say in another message, I am a novice, ever know, put one code directly bai, thank you!!!!!
CodePudding user response:
Didn't understand you means is to pass the custom message sending yourself under the baidu