Results 1 to 3 of 3

Thread: Maximize window still showing toolbar

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2000
    Posts
    27
    I want to maximize a form in vb and have the minimize button available while still showing the windows tool bar at the bottom of the screen. If I use the Fixedtoolwindow border style and maximize my form I get what I want but no minimize button, just a close button. If I use the fixedsingle border I get the minimize button but I don't see my tool bar. Is there a way to get both????

  2. #2
    Guest
    FixedSingle, if you have it to show both the minimize and maximize buttons, and you have a caption, than it will show what you want the minimize button.

  3. #3
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>


    Code:
    You could just add two lables.
    
    Label.Caption = "-"
    Label2.Caption = "+"
    
    Private Sub Label1_Click()
      Form1.WindowState = 1
    End Sub
    
    Private Sub Label2_Click()
      Form1.WindowState = 2
    End Sub
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

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