System Tray Application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to create an application that will start off in the system tray
without any initial form being displayed. The problem is that I can't seem to
create such an application without including a NotifyIcon control on a form.

Isn't there any way to start an application in the system tray without the
use of a form? Obviously I could just create an invisible form and have the
NotifyIcon control on there but it seems a little unnecessary. Isn't there
another way?
 
I don't think a form is necessary because the NotifyIcon uses a window
internally. You could try creating a NotifyIcon and set the Visible property
to True.

-Atul
http://www.ssware.com/
Shell MegaPack - Windows Explorer Shell Controls for ActiveX and .Net
 
Ah, I see. Thanks, that makes sense.

The only problem is that I've now got to set up the NotifyIcon object (and
it's ContextMenu) manually - is there anyway I can design the NotifyIcon with
someone like Windows Forms Designer but, obviously, without a form?

I'm guessing the answer is 'no', and I'm happy enough to set everything up
manually, but I'm still curious...
 
Back
Top