-
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????
-
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.
-
<?>
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