Sign in to follow this  
soconne

OpenGL OpenGL GUI and menus

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this