English 中文(简体)
OpenGL with GLUT on windows 7, fullscreen mode not showing the message box
原标题:

I wrote an OpenGL app in C++ a while ago, back when my operating system was Windows XP.

I used GLUT (plane ol version) to show the window and also used full screen mode.

There are times when I displayed a message box (MessageBoxA method, using the MB_TASKMODAL modifier).

In windows XP the message box was being displayed nicely over the full screen graphics, but it seems that something has changed in windows 7. Now, the application behaves like the message box is displayed, mainly, the keyboard and mouse are not operational until I click the button on the box, but the message is not shown on the screen! Keep in mind that it s the same code that was working fine in windows XP, and it is only a problem in full screen mode.

Did anyone ran into this kind of problem and perhaps know a way to make this code windows 7 compatible?

问题回答

Just to make links between identical problems, even if this question is old and probably forgotten, I had a comparable question and found a workaround in 2010 :

Modal dialogs opened by a fullscreen OpenGL window on Windows 7 are not showing





相关问题
OpenGL 3D Selection

I am trying to create a 3D robot that should perform certain actions when certain body parts are clicked. I have successfully (sort of) implemented picking in that if you click on any x-plane part, it ...

CVDisplayLink instead of NSTimer

I have started to implement cvDisplayLink to drive the render loop instead of nstimer, as detailed in this technical note https://developer.apple.com/library/archive/qa/qa1385/_index.html Is it ...

Can the iPhone simulator handle PVR textures?

I have a really weird problem with PVR textures on the iPhone simulator- the framerate falls through the floor on the iPhone simulator, but on the iPhone itself it works just fine. Has anyone had any ...

Calculate fps (frames per second) for iphone app

I am using an opengl es iphone application. What is the most accurate way to calculate the frames per second of my application for performance tuning?

Java - Zoom / 3D Data Visualization Libraries

What are the best libraries/frameworks for doing 3D and/or Zoom interfaces in Java? I d like to be able to do some prototyping of creating new types of interfaces for navigating within data and ...

FLTK in Cygwin using Eclipse (Linking errors)

I have this assignment due that requires the usage of FLTK. The code is given to us and it should compile straight off of the bat, but I am having linking errors and do not know which other libraries ...

热门标签