Results 1 to 5 of 5

Thread: [2.0] changing window height/width and going fullscreen

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2007
    Location
    Australia
    Posts
    237

    [2.0] changing window height/width and going fullscreen

    How do I change my windows height width, and change to full screen aswell?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2.0] changing window height/width and going fullscreen

    If you want to display a form full-screen you set the BorderStyle to None and the WindowState to Maximized.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2007
    Location
    Australia
    Posts
    237

    Resolved Re: [2.0] changing window height/width and going fullscreen

    in XNA game studio, there is no form designer, if there is I can't find it,

    you do it all by code, but I figured it out anyway thanks

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2.0] changing window height/width and going fullscreen

    The form designer simply generates code for you. Everything is done in code at run time. I just said to set properties. I didn't say they had to be set in the designer. Any property you can set in the designer you can also set in code at run time, with a very few special exceptions.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    May 2007
    Location
    Australia
    Posts
    237

    Re: [2.0] changing window height/width and going fullscreen

    ok, thought u meant in the designer, thanks :P

    in the XNA games thing there is a function 'IsFullScreen', which goes full screen when set to true,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width