Jump to content
  • Advertisement
Sign in to follow this  

OpenGL duel opengl displays in mfc

This topic is 4832 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

hey everyone! I’m new to OpenGL, but have downloaded some sample projects to create an child window and display OpenGL using MFC, so I know it can be done and am fairly convinced I can do it. What I need, however, requires that I have two different OpenGL child windows running, one a simple 2D window displaying a mock up of aircraft display (text and buttons basically) and another displaying a fairly hefty 3D visualization. When I’ve tried to use these sample projects to implement two of the same openGL child windows, only one of them will animate, the other sits there doing nothing after originally being drawn. If I put another window in front of that window, and then go back to it, the second static image has disappeared, and only the first one is there, still animated. When I move the window the second static image comes back, but still doesn’t rotate. If I disable the first child window in the code and leave only the second one, then it animates fine. If anyone can give me any advice on having two different openGL processes display and update in one MFC window, that would be rad! domus

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!