Solved

win32 dialogs versus fullscreen OpenGL

Posted on 2011-03-19
3
641 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
  • 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
parse convert xml feed to text (python) 2 82
Issues with C++ Class 19 92
Why  my code (program) build with old compiler? 11 43
SQL Insert parts by customer 12 33
A short article about problems I had with the new location API and permissions in Marshmallow
This is about my first experience with programming Arduino.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
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.

770 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