Hi all.
Perhaps I'm missing something simple here. If I use a form border style
"None" (no Minimize/Maximize/Close buttons) how can I minimize the form when
user clicks some control?
Thanks for any help!
Mattias Sjögren - 06 Mar 2006 18:07 GMT
>Perhaps I'm missing something simple here. If I use a form border style
>"None" (no Minimize/Maximize/Close buttons) how can I minimize the form when
>user clicks some control?
Set the WindowState property to FormWindowState.Minimized
Mattias

Signature
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Kikoz - 06 Mar 2006 18:15 GMT
I knew it was simple :)
Thanks man!!
> >Perhaps I'm missing something simple here. If I use a form border style
> >"None" (no Minimize/Maximize/Close buttons) how can I minimize the form when
[quoted text clipped - 3 lines]
>
> Mattias
Herfried K. Wagner [MVP] - 06 Mar 2006 18:42 GMT
"Kikoz" <Kikoz@discussions.microsoft.com> schrieb:
> Perhaps I'm missing something simple here. If I use a form border style
> "None" (no Minimize/Maximize/Close buttons) how can I minimize the form
> when
> user clicks some control?
<URL:http://www.dotnetrix.co.uk/misc.html>
-> "An example of a moveable/resizable shaped form."

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>