-
December 7th, 2010, 03:54 AM
#1
Message pump question
Code:
BOOL CMDIApp::OnIdle(LONG lCount)
{
// TODO: Add your specialized code here and/or call the base class
if (app)
{
app->Run();
}
return CWinApp::OnIdle(lCount);
}
Thanks guys for answering my previous questions, I managed to create the object as single instance and there is no problem. Thanks a lot. However, I have some difficulty with the following problem. As shown above, the application (as a single instance, I should have named it something else ), is completely engaged in rendering and ignores all messages toward other MDI child windows. So the result is a plain window which looks like a SDI.
See mdi1.png
Which is supposed to look like mdi2.png
Does anyone know how to alter the program to make it look exactly like picture 2 while
preserving dx functionalities?
Thanks
Jack
Last edited by lucky6969b; December 7th, 2010 at 04:02 AM.
Reason: Want to reattach the pictures
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|