Jump to content

  • Log In with Google      Sign In   
  • Create Account


Rendering buttons on top of OpenGL


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 polyfrag   Crossbones+   -  Reputation: 1735

Like
0Likes
Like

Posted 28 September 2012 - 01:23 AM

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?

Sponsor:

#2 MarkS   Prime Members   -  Reputation: 875

Like
0Likes
Like

Posted 28 September 2012 - 10:06 AM

To be entirely honest, I am surprised that worked at all. Posted Image 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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS