how can i know if my form is minimized by the user?
Simon Schmitz - 30 Sep 2003 10:32 GMT
With the FormWindowState-Enumeration!
The default value of FormWindowState is 'Normal'.
If the form is minimized this value is 'Minimized'.
WindowState = FormWindowState.Minimized;
if (this.WindowState.ToString() == "Minimized") {
...
}
>-----Original Message-----
>how can i know if my form is minimized by the user?
>
>.
Herfried K. Wagner [MVP] - 30 Sep 2003 11:33 GMT
"Suhail Salman" <suhail@access2arabia.com> scripsit:
> how can i know if my form is minimized by the user?
You can check the form's 'WindowState' properts in the form's 'Resize' event.

Signature
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet