Reputation: 360
The problem that I'm having at the moment is that OpenGL overlaps my status bar, whereas the menu of the window doesn't change. Any ideas how to solve this issue? to make statusbar on top just like the menu.
I use CreateWindowEx for both the main window (custom WNDCLASS) and the statusbar(STATUSCLASSNAME) with WS_CHILD enabled. Maybe I'm missing some of the flags.
PS. I don't use GLUT nor any other 3rd party libraries only Windows and OpenGL
Upvotes: 2
Views: 519
Reputation: 26259
You just need to add the WS_CLIPCHILDREN
and WS_CLIPSIBLINGS
styles to your OpenGL window.
Upvotes: 2