In another message response response function is open the file, and created a modal dialog box,
As soon as the situation now is to create a modal dialog box OnPaint () in the MessageBox () will play out
I suspect that in the process of message response can also respond to other message, don't message response function is to create a thread to handle alone?
Confused now, wish you a great god can help
CodePudding user response:
As soon as the situation now is to create a modal dialog box OnPaint () in the MessageBox () will play outI suspect that in the process of message response can also respond to other message, don't message response function is to create a thread to handle alone?
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
CodePudding user response:
Please go to code!CodePudding user response:
Any shade window operation will lead to onpaint triggerCodePudding user response:
If the other news of the response function is executing, will enter the OnPaint () function?CodePudding user response:
"" OnPaint () in a MessageBox ()", "Please don't in the OnPaint using MessageBox () (), because, a MessageBox (), and perform the OnPaint,
Using afxDump & lt; & lt;" Something happen \ n "; The TRACE function such as
CodePudding user response:
Because, MessageBox () closing OnPaint performed again,CodePudding user response:
The question now is whether the other news of the response function but not performed in the implementation process, has entered the OnPaint () functionCodePudding user response:
Message response function will be interrupted?CodePudding user response:
Any operation will lead to change the window onpaint triggerCodePudding user response:
Support what upstairs said, although I don't know is what circumstance,CodePudding user response:
CodePudding user response:
Multiple Threads in the User Interface of http://msdn.microsoft.com/zh-cn/library/ms810439.aspx