Jump to content
  • Advertisement
Sign in to follow this  
soconne

OpenGL OpenGL GUI and menus

This topic is 3691 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 been working on an OpenGL rendered GUI and I've run into a snag with the Menu system. At first I rendered Menus inside of the main window, which caused some drawbacks, such as Menus were restricted within the window itself and were not actually 'layered' on top of the window. Furthermore, lots of special instance code had to be put in to deal with it. Now I've reworked it so every Menu that is created is rendered within its own window, that appears on top of the main window. It all works perfectly fine, except every time a window appears the main window loses focus, which I would like to avoid. So does anybody know of a way to either avoid this, somehow use the HMENU object and custom draw the entire thing with OpenGL OR is there some other method I'm overlooking.

Share this post


Link to post
Share on other sites
Advertisement
I am not trying too spam, but www.marek-knows.com has videos on creating a GUI. Though I think it's made in Win32 that mite help you out.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!