Jump to content

Featured Replies

Posted
Does anyone have any knowledge on how to make a simple console application be seen in fullscreen, dos style (in CPP)? I know you can do it by right clicking properties, select full screen, blah blah blah. I need to know how to do it programatically.

Yes I had this problem a while ago, fix:

 

#include <windows.h>

 

Then, this will simulate an ALT+Enter:

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);

Guest
This topic is now closed to further replies.