is it possible to maximise the console window, not windowed i mean, but a full screen, minus border, i can't find anything in the tutorials or faqs, or even msdn.
any help is much appreciated.
Printable View
is it possible to maximise the console window, not windowed i mean, but a full screen, minus border, i can't find anything in the tutorials or faqs, or even msdn.
any help is much appreciated.
I don't now how you would do it with code but you can hit Alt+Enter to go fullscreen in windows.
Hi Shakespeare,
it is possible to emulate Alt+Enter via the 'keybd_event' function
but instead of VK_MENU and VK_ENTER use the second parameter of the function to specify the proper scan codes . You may find comprehensive information about 'keybd_event' and scan codes in MSDN.
damyanCode: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);