Jump to content
  • Advertisement


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


OpenGL opengl window in MDI window

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

Hi everyone, I have a program in win 32 API which i have added many features to it(music playing keyboards, mini game, simple word processor bitmap DIB viewr,clipboard viewer & graphical cartoons,system info & color change &tons of other stuff,,,,,,). now each program will start independently if chossen by a menu command like-->game-->poker will start a poker game. now i am new to opengl and i want to put an extra feature"a simple program of a rotating blade over a triangle" done in opengl so as to add another feature to my application and i want to process that window just like my other features ,through a menu command like: menu->graphics->opengl sample. so when user choose this menu item the program reverse to an opengl window and when finished through another item "close opengl window" , it will go back to the regular window. can this be done within the framework of win API without the use of peekmessage function ? if yes give me a hint if im right to think that initialization will be done globaly.and can i release the rendering context within the frame of "close opengl" menu item. cheers!

Share this post

Link to post
Share on other sites

  • 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!