melon,
The problem with the console app is that there is no pump for windows
messages. You could run a message pump in a separate thread, and then have
a NotifyIcon class instance that was created in that thread. It's not going
to be pretty, but I think it is possible.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
(E-Mail Removed)
"melon" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> I have written a console application, but now I would like to add a
> notify icon in the system tray. What is the easiest way to do it? It
> would be painful if I have to convert it to a Windows App.
>
> Thanks.
>