err....... is there any command line in Dos to make it full screen, so that i can put it into a system(" ") line in my c++ console program? Thanks in advance.
Jump to Post
No, you have to simulate a few keystrokes with the Windows API function keybd_event. IIRC:
keybd_event ( VK_MENU, 0, 0, 0 ); keybd_event ( VK_RETURN, 0, 0, 0 ); keybd_event ( VK_RETURN, 0, KEYEVENTF_KEYUP, 0 ); keybd_event ( VK_MENU, 0, KEYEVENTF_KEYUP, 0 );
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.