I''m creating a fullscreen OpenGL window in Win98 ala NeHe''s tutorials, ie. using ChangeDisplaySettings and then creating a window that fills the screen. The problem is that sometimes toolbars pop in front of my full screen application! How can I make sure my graphics won''t be blocked by these "Always on Top" windows? Also, a more minor issue. I want my mouse cursor to be drawn by OpenGL not Windows. How do I turn off that darn windows arrow?
OpenGL... Always on top?
2 replies to this topic
Members - Reputation: 122
Posted 21 February 2000 - 10:53 AM
To make your program the top most you need to specify WS_EX_TOPMOST for the extended window style when you create your window. To turn off the cursor you need to issue the command ShowCursor( NULL )in response to the WM_SETCURSOR message.