Archived

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

code_evo

MFC MDI openGL help

Recommended Posts

code_evo    146
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
felisandria    739
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