Solved

win32 dialogs versus fullscreen OpenGL

Posted on 2011-03-19
3
646 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 500 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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

This is about my first experience with programming Arduino.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

710 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