Results 1 to 5 of 5

Thread: [RESOLVED] maximise and minimize

  1. #1

    Thread Starter
    Addicted Member Gameunreal's Avatar
    Join Date
    Jun 2006
    Location
    gone fishing
    Posts
    249

    Resolved [RESOLVED] maximise and minimize

    hi everyone

    i am making a program and in my view menu, i have a couple of options, 2 of which are Maximise and Minimise

    What is the code to minimize/maximise the current form?

    thanks in advance
    cheers
    patrick

  2. #2
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: maximise and minimize

    Hi,

    Wich version is this, use the selecting buttons.

    Wkr,

    sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

  3. #3

    Thread Starter
    Addicted Member Gameunreal's Avatar
    Join Date
    Jun 2006
    Location
    gone fishing
    Posts
    249

    Re: maximise and minimize

    . visual studio 2005 express.

    i wanted so when the user clicks the Maximise button, the program maximises, and when he clicks the minimise button, the program minimises to the taskbar
    Attached Images Attached Images  

  4. #4
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    Re: maximise and minimize

    VB Code:
    1. 'for maximizing
    2. Me.WindowState = FormWindowState.Maximized
    3.  
    4. 'for minimizing
    5. Me.WindowState = FormWindowState.Minimized
    Use [code] source code here[/code] tags when you post source code.

    My Articles

  5. #5

    Thread Starter
    Addicted Member Gameunreal's Avatar
    Join Date
    Jun 2006
    Location
    gone fishing
    Posts
    249

    Re: [RESOLVED] maximise and minimize

    thanks
    -=PATRICK=-
    Using Visual Basic .NET 2005


    If you found a post useful then please Rate it!



    Hidden DOS secret: add BUGS=OFF to your CONFIG.SYS
    A program is a device used to convert data into error messages.
    Programmer's Drinking Song: 99 programming bugs in the code/99 programing bugs/Fix one bug/compile it again/now there's 100 bugs in the code! (repeat until bugs==0)
    All wiyht. Rho sritched mg kegtops awound?

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