I created the above program in response to a request from someone on a Usenet newsgroup. They needed to be able to alter a command-prompt window to bring it to full screen via a program that could be invoked from a batch file.
The program uses the Win32 keybd_event() function which can simulate keystrokes. It simulates an alt-down, return-down, return-up, alt-up sequence of keystrokes.
To run the program ( after compiling ) just type altent at a
command prompt. The program should toggle the full-screen state of
the given command prompt window.
Yes, I know it's shorter to type in the ALT-ENTER keystrokes themselves. This program is intended to be used inside a batch file.
Back to Jimbo's Demented Software