Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

win32 dialogs versus fullscreen OpenGL

Posted on 2011-03-19
3
Medium Priority
?
651 Views
Last Modified: 2012-05-11
Hi,

Since Vista/Windows 7 i'm having trouble with a fullscreen OpenGL window obscuring win32 dialogs. This wasn't a problem in XP, where the dialogs remained on top of the OpenGL window. If the OpenGL window is smaller, there is no problem.
It's not that i'm creating a fullscreen window as such, i'm just creating a borderless window with the same dimensions as the screen. If i make it just one pixel smaller (horizontally or vertically) all goes well.
Any idea's?

Kind Regards,
Daniel Dekkers
0
Comment
Question by:DoZo1971
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
StormSeed earned 2000 total points
ID: 35391212
I expect using the Windows API to tell the dialog window to go on top could solve the problem.

How are you creating the dialog?  (i.e. Do you use the Windows API to do so?)
Is the dialog modal?  (Making it modal might solve your problem.)
0
 

Author Comment

by:DoZo1971
ID: 35391490
Hi StormSeed,
Solved it (forgot to remove the question).
You have to set WGL_SWAP_METHOD_ARB to WGL_SWAP_COPY_ARB in the pixelformatdescriptor. That works on nVidia (MacBook Pro). Hope it works on ATI cards as well.
0
 

Author Closing Comment

by:DoZo1971
ID: 35391493
For the effort ;-)
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Make the most of your online learning experience.
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Six Sigma Control Plans

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question