Fullscreen won't give back control
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
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?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement