How do I manually create an icon in the system tray?
- From: "Joseph Geretz" <jgeretz@xxxxxxxxxx>
- Date: Thu, 5 Jul 2007 01:51:01 -0400
The conventional approach is easy enough; drop a NotifyIcon onto a Form.
When the form is loaded - bingo - the icon appears in the System Tray.
I can't use this approach though. I'm writing a service. But I'd like my
service to install an icon on the System Tray so that the user can start /
stop / and otherwise control the service interactively, and without having
to go to the Services applet. How do I do this?
Thanks for your advice.
- Joseph Geretz -
.
- Follow-Ups:
- Re: How do I manually create an icon in the system tray?
- From: Nicholas Paldino [.NET/C# MVP]
- Re: How do I manually create an icon in the system tray?
- From: Peter Duniho
- Re: How do I manually create an icon in the system tray?
- Prev by Date: Re: whats faster, initialize component, or form load?
- Next by Date: Marshal object as a byte array.
- Previous by thread: How to CreateNamedPipe with FILE_CREATE_PIPE_INSTANCE access rights
- Next by thread: Re: How do I manually create an icon in the system tray?
- Index(es):
Relevant Pages
|