G
Guest
I've noticed that a form will cover the taskbar when it is maximized if its
ControlBox property is set to false (even if the "Keep the taskbar on top of
other windows" option is selected). You can reproduce this by showing the
following form:
Public Class Form1
Inherits Windows.Forms.Form
Public Sub New()
MyBase.New()
Me.ControlBox = False
Me.WindowState = FormWindowState.Maximized
End Sub
End Class
What I want is for the form to behave as it does when ControlBox is set to
true (except that I want the ControlBox to be hidden).
Thanks for any help!
Lance
ControlBox property is set to false (even if the "Keep the taskbar on top of
other windows" option is selected). You can reproduce this by showing the
following form:
Public Class Form1
Inherits Windows.Forms.Form
Public Sub New()
MyBase.New()
Me.ControlBox = False
Me.WindowState = FormWindowState.Maximized
End Sub
End Class
What I want is for the form to behave as it does when ControlBox is set to
true (except that I want the ControlBox to be hidden).
Thanks for any help!
Lance