• Advertisement

Archived

This topic is now archived and is closed to further replies.

MFC MDI openGL help

This topic is 5021 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've got an MFC MDI app with openGL rendering in the one and only view class. When I have say 4 child frames open, the one that is active renders no problem, but the others are halted (the GL animation stops because the view is not being drawen by windows) How can I have all the child frame views constantly being drawen? The effect would be say 4 triangles spinning constantly no matter how they are tiled or moved around inside the parent. Thanks. [edited by - code_evo on May 25, 2004 9:55:47 PM]

Share this post


Link to post
Share on other sites
Advertisement
You should be able to ask the document to UpdateAllViews from pretty much anywhere, if you set it up right. The fact that you say you have an MDI worries me a bit though, as in your situation you want a SDI with multiple view frames (which isn''t too hard to get to from an MDI).

-fel

Share this post


Link to post
Share on other sites

  • Advertisement