[Dev-C++] window procedures and threads
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <or...@vp...> - 2004-09-22 17:12:46
|
Hi! I have a question regarding window procedures. I have a normal windows application, which at some point displays a model= ess dialog box.=20 That is, I have to press OK or CANCEL to return to my app, and the execut= ion of the code=20 is "supposedly" blocked. BUT: If I move around the dialog box, I can clea= rly see, that the=20 window underneath (my main window) is actually getting paint messages, th= at is, it's=20 window procedure is called. Now, my question is: while my dialog box is displayed, does windows autom= atically create a=20 new thread for calling the window procedure, or is it called from the sam= e thread, as the=20 dialog box's? But then how? As the code is supposedly blocked, until I cl= ose the dialog. I really need some answer for this, as I searched for hours, still I have= n't found an answer. Thank you in advance. -- Greetings, Bal=E1zs |