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
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.