MDI flicker when using OpenDocumentFile |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 05 May 2007 at 7:10am |
Hi,
Consider adding this in CMainFrame::InitInstance():
for (int i = 0; i < 20; i++)
pDocTemplate->OpenDocumentFile(NULL); I just tried that in your MDITabWindows sample, and it works just fine. However, if the views are of somewhat more complicated nature, the title (among other things) of the main frame will flicker like hell.
How can I prevent that? I simply want to add all documents/views and then make them visible and then make the last one active - with no flicker!
Thanks!
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |