Rendering buttons on top of OpenGL

Started by
0 comments, last by MarkS_ 11 years, 6 months ago
If I use WS_OVERLAPPEDWINDOW the push buttons are automatically drawn on top of OpenGL but when I'm in fullscreen mode and use WS_POPUP they get covered up by OpenGL.

How do I make the buttons show up in fullscreen mode?
Advertisement
To be entirely honest, I am surprised that worked at all. blink.png Unless the rendered image is being copied to the window via BltBit, which is a scary thought!, the image should have overwritten anything in the window.

The only way to implement a GUI in OpenGL, to my understanding, is through OpenGL. There are GUI libraries available that make this easier. I'm sorry, I cannot remember the names though. Maybe someone else will step in.

This topic is closed to new replies.

Advertisement