Home All Groups Group Topic Archive Search About

Icon in System tray upon Minimizing

Author
1 May 2006 6:07 PM
Zectron
I have made my custom application from which i can access all other
installed application using Shell function. I need to send this application
to system tray upon minimizing. How to do it?? Please help!!

--
Regards

Author
2 May 2006 5:45 AM
Mattias Sjögren
>I have made my custom application from which i can access all other
>installed application using Shell function. I need to send this application
>to system tray upon minimizing. How to do it?? Please help!!

Use the NotifyIcon component to add the icon, and override the
OnResize method (or handle the corresponding event) to detect when the
form is minimized.


Mattias

--
Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.