Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
Is there any way to make your program go into full screen mode (as well as change the resolution) with windows api?
Gamer extraordinaire. Programmer wannabe.
  • *Experts*
Posted
You can change the res. with [api]ChangeDisplaySettings[/api], I believe. And there is no real "full screen" mode. I believe most full screen apps are just windows which are sized to fit the screen.
  • *Experts*
Posted

If you remove the Form's border, the caption, and any system buttons (ControlBox, Minimize, Maximize) and set the WindowState to Maximized, it will go "full screen", even over the task bar. To change the resolution, you could use ChangeDisplaySettings as mentioned above - but remember that if they Alt-Tab to another window you *may* want to resize back - or prevent them from using Alt-Tab.

 

-Ner

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...