Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

lindoloco

Fullscreen won't give back control

This topic is 5369 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I don''t know what happened to my code, but now i can''t get out of fullscreen mode "elegantly". I''m using DirectX. If I alt-f4 or PostQuitMessage(0) my app, it breaks here in my WndProc: // Window message, give it to message handler default: pkWindow = (CPCWindow *) GetWindowLong (hWindow, GWL_USERDATA); if (pkWindow != NULL) { bDone = pkWindow->MessageHandler (iMessage, wParam, lParam); } Right there at bDone = , it fails trying to read from somewhere. Problem is, I can''t even see the exception, the fullscreen won''t go back to windows. I can then hit shift-f5 to cancel the program. Also, if I set a breakpoint somewhere in my code, the break will hit but once again I won''t get kicked out of fullscreen mode and I can''t see what''s going on, and I have to shift f5 again. Alt tabbing doesn''t work. I might have changed something bad without knowing it, BUT, i also did get new nvidia drivers yesterday AND i upgraded to DirectX 9.0b from 9.0a. This happens when running both directx debug and retail. I have a feeling it''s the new video card drivers.....the breakpoint should punt it out! If i run in windowed mode everything works fine. Anyone have any suggestions? thanks

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by lindoloco
... Also, if I set a breakpoint somewhere in my code, the break will hit but once again I won''t get kicked out of fullscreen mode and I can''t see what''s going on, and I have to shift f5 again. Alt tabbing doesn''t work.


I''ve also had this part of the problem for a long time so i just do my debugging in windowed mode.

Anyone know how to fix it?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!