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 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.