开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜