Does anybody know how to set a console program to full screen mode?
Does anybody know how to set a console program to full screen mode?
---Rainer
Digital pimp, hard at work
Think i can help you with that. Try the code below, that should do the trick.
Just call the function, in say like this:Code:void fullscreen() //another cool trick that I use to make it full screen or back to normal size { 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); }
Code:cout << "Full screen?: "; cin >> somevariable; if (the variable is yes) { fullscreen(); }
Last edited by RoD; 08-07-2003 at 08:03 PM.
We keep that information on adrianxw's site. More specifically, it's right here on his site.
Away.
Wow, someone needs to quote their sources.
Thanks
---Rainer
Digital pimp, hard at work