How do I write a full-screen program? Can I specify a style in a resource file like this:or do I need to make it fullscreen when handling the WM_INITDIALOG message?Code:STYLE DS_3DLOOK | WS_MAXIMIZEBOX | SOMETHING_FULLSCREEN | . . .
How do I write a full-screen program? Can I specify a style in a resource file like this:or do I need to make it fullscreen when handling the WM_INITDIALOG message?Code:STYLE DS_3DLOOK | WS_MAXIMIZEBOX | SOMETHING_FULLSCREEN | . . .
Ever notice how fast Windows runs?
Neither did I.
Which is why I switched to Linux.
Have you tried WS_MAXIMIZE
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill
Full screen... as in no title bar on top, and no Windows task bar on the bottom of the screen.
Ever notice how fast Windows runs?
Neither did I.
Which is why I switched to Linux.
You can get the device context to the entire screen by calling GetDC with a NULL argument. This will allow you to draw anywhere and get the information for the screen dimensions.
Last edited by AndrewHunter; 06-10-2011 at 01:53 PM.
Create a popup window (WS_POPUP) the size of the desktop window.
VirtualAce, I do not know why I did not think of that! Thanks!
Ever notice how fast Windows runs?
Neither did I.
Which is why I switched to Linux.