Connecting Tech Pros Worldwide Forums | Help | Site Map

Keeping application to notify icon

Beenish Sahar Khan
Guest
 
Posts: n/a
#1: Nov 16 '05
I am using C#.I want to start my application so that its notify icon is
added to the
system tray, i don't want to show any starting form. I want user to interact
through the notify icon...just like MSN. Is there any way to do this?
regards,
beenish




Jesse
Guest
 
Posts: n/a
#2: Nov 16 '05

re: Keeping application to notify icon


I'm pretty sure the form has a hide() function.

Jesse

"Beenish Sahar Khan" <beenish.khan@kolachi.net> wrote in message
news:u8ANYU9HFHA.1280@TK2MSFTNGP09.phx.gbl...[color=blue]
> I am using C#.I want to start my application so that its notify icon is
> added to the
> system tray, i don't want to show any starting form. I want user to[/color]
interact[color=blue]
> through the notify icon...just like MSN. Is there any way to do this?
> regards,
> beenish
>
>
>[/color]


Beenish Khan
Guest
 
Posts: n/a
#3: Nov 16 '05

re: Keeping application to notify icon




I did called the Hide() function in the constructtor, after the
initialization part, but it didn't work. :( Right now i have set the
opacity level to 0 %, but this is surely not a good solution.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Marc Jennings
Guest
 
Posts: n/a
#4: Nov 16 '05

re: Keeping application to notify icon


this.ShowInTaskbar = false;
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;

That's how I did it, anyway. It's not perfect as you can still
ALT-TAB to the form, but if you make it 10x10, with a position off the
screen (-100,-100 for example) you should get away with it.


On Thu, 03 Mar 2005 02:34:19 -0800, Beenish Khan <nufastian@yahoo.com>
wrote:
[color=blue]
>
>
>I did called the Hide() function in the constructtor, after the
>initialization part, but it didn't work. :( Right now i have set the
>opacity level to 0 %, but this is surely not a good solution.
>
>*** Sent via Developersdex http://www.developersdex.com ***
>Don't just participate in USENET...get rewarded for it![/color]

Closed Thread