Weird Windowstate behaviour????

  • Thread starter Thread starter Neo
  • Start date Start date
N

Neo

Hi

I have a custom form drawn from gdi+ for a custom ui. When an objects
double_click event is fired the form maximizes or minimizes depending on the
current state of the form. The problem is when the form is maximized it
completely covers the taskbar at the bottom of the screen. Am I missing
something? Heres my code (pretty simple) thanks in advance:

If Me.WindowState = FormWindowState.Maximized Then

Me.WindowState = FormWindowState.Normal

Else

Me.WindowState = FormWindowState.Maximized

End If
 
* "Neo said:
I have a custom form drawn from gdi+ for a custom ui. When an objects
double_click event is fired the form maximizes or minimizes depending on the
current state of the form. The problem is when the form is maximized it
completely covers the taskbar at the bottom of the screen. Am I missing
something? Heres my code (pretty simple) thanks in advance:

Are you sure the taskbar is configured to be displayed always in front
of the windows?
 
Back
Top