Solved

win32 dialogs versus fullscreen OpenGL

Posted on 2011-03-19
3
636 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
Comment Utility
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
Comment Utility
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
Comment Utility
For the effort ;-)
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
stringclean challenge 26 54
nestparen challenge 4 55
wordcount challenge 11 72
listing all functions in JavaScript 19 98
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
A short article about a problem I had getting the GPS LocationListener working.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

772 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now