OpenGL GUI and menus
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement