-
full screen and windowed
in the begining of most of my programs i put
Code:
keybd_event(VK_MENU,0x38,0,0);
keybd_event(VK_RETURN,0x1c,0,0);
keybd_event(VK_RETURN,0x1c,KEYEVENTF_KEYUP,0);
keybd_event(VK_MENU,0x38,KEYEVENTF_KEYUP,0);
to make the dos window go full screen. but wut would i use to make it windowed again?
-
ALT+ENTER will make it return...
VK_ALT
A virtual key code for the ALT key.
and VK_RETURN is undocumented by MSDN, but you already know it apparently =)
-
Wouldn't you just use it again? I mean, hitting Alt+Enter in full screen mode changes it back to windowed, doesn't it? So I'd imagine just re-calling that code would put it back in window mode.
Brendan