how to flash Notify Icon?
Collapse
This topic is closed.
X
X
-
Fei LiTags: None -
Bob Powell [MVP]
Re: how to flash Notify Icon?
Physically change the contents of the Icon property based on a timer.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Answer those GDI+ questions with the GDI+ FAQ
The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
"Fei Li" <FeiLi@discussi ons.microsoft.c om> wrote in message
news:3A46FC46-D4FE-4CA8-ACCD-FF331DD28098@mi crosoft.com...[color=blue]
>[/color]
-
Fei Li
Re: how to flash Notify Icon?
How to Physically change the contents of the Icon property?
"Bob Powell [MVP]" wrote:
[color=blue]
> Physically change the contents of the Icon property based on a timer.
>
> --
> Bob Powell [MVP]
> Visual C#, System.Drawing
>
> Answer those GDI+ questions with the GDI+ FAQ
> http://www.bobpowell.net/gdiplus_faq.htm
>
> The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
> Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
> Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
>
>
>
>
>
>
> "Fei Li" <FeiLi@discussi ons.microsoft.c om> wrote in message
> news:3A46FC46-D4FE-4CA8-ACCD-FF331DD28098@mi crosoft.com...[color=green]
> >[/color]
>
>
>[/color]
Comment
-
Bob Powell [MVP]
Re: how to flash Notify Icon?
notifyIcon1.Ico n=new Icon(......);
You can set the icon to null to hide it and then set it to a valid icon to
display it.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Answer those GDI+ questions with the GDI+ FAQ
The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
"Fei Li" <FeiLi@discussi ons.microsoft.c om> wrote in message
news:FEA02684-59D0-474A-84D6-AE6DD56C29A5@mi crosoft.com...[color=blue]
> How to Physically change the contents of the Icon property?
>
> "Bob Powell [MVP]" wrote:
>[color=green]
> > Physically change the contents of the Icon property based on a timer.
> >
> > --
> > Bob Powell [MVP]
> > Visual C#, System.Drawing
> >
> > Answer those GDI+ questions with the GDI+ FAQ
> > http://www.bobpowell.net/gdiplus_faq.htm
> >
> > The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
> > Windows Forms Tips and Tricks RSS:[/color][/color]
http://www.bobpowell.net/tipstricks.xml[color=blue][color=green]
> > Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
> >
> >
> >
> >
> >
> >
> > "Fei Li" <FeiLi@discussi ons.microsoft.c om> wrote in message
> > news:3A46FC46-D4FE-4CA8-ACCD-FF331DD28098@mi crosoft.com...[color=darkred]
> > >[/color]
> >
> >
> >[/color][/color]
Comment
-
Wes
Re: how to flash Notify Icon?
Hello Bob Powell [MVP],
I would suggest that you not set the icon to null but instead set it to a blank icon so that it acts like a place holder in the system tray.
HTH
Wes Haggard
[color=blue]
> notifyIcon1.Ico n=new Icon(......);
>
> You can set the icon to null to hide it and then set it to a valid
> icon to display it.
>
> Answer those GDI+ questions with the GDI+ FAQ
> http://www.bobpowell.net/gdiplus_faq.htm
> The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
> Windows Forms Tips and Tricks RSS:
> http://www.bobpowell.net/tipstricks.xml
> Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
> "Fei Li" <FeiLi@discussi ons.microsoft.c om> wrote in message
> news:FEA02684-59D0-474A-84D6-AE6DD56C29A5@mi crosoft.com...
>[color=green]
>> How to Physically change the contents of the Icon property?
>>
>> "Bob Powell [MVP]" wrote:
>>[color=darkred]
>>> Physically change the contents of the Icon property based on a
>>> timer.
>>>
>>> --
>>> Bob Powell [MVP]
>>> Visual C#, System.Drawing
>>> Answer those GDI+ questions with the GDI+ FAQ
>>> http://www.bobpowell.net/gdiplus_faq.htm
>>> The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml Windows
>>> Forms Tips and Tricks RSS:
>>>[/color][/color]
> http://www.bobpowell.net/tipstricks.xml
>[color=green][color=darkred]
>>> Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
>>>
>>> "Fei Li" <FeiLi@discussi ons.microsoft.c om> wrote in message
>>> news:3A46FC46-D4FE-4CA8-ACCD-FF331DD28098@mi crosoft.com...
>>>[/color][/color][/color]
Comment
-
Bob Powell [MVP]
Re: how to flash Notify Icon?
Yep, that works too.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Answer those GDI+ questions with the GDI+ FAQ
The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
"Wes" <newsgroups@puz zleware.net> wrote in message
news:uRGVL9rtEH A.636@TK2MSFTNG P09.phx.gbl...[color=blue]
> Hello Bob Powell [MVP],
>
> I would suggest that you not set the icon to null but instead set it to a[/color]
blank icon so that it acts like a place holder in the system tray.[color=blue]
>
> HTH
> Wes Haggard
> http://weblogs.asp.net/whaggard/
>
>[color=green]
> > notifyIcon1.Ico n=new Icon(......);
> >
> > You can set the icon to null to hide it and then set it to a valid
> > icon to display it.
> >
> > Answer those GDI+ questions with the GDI+ FAQ
> > http://www.bobpowell.net/gdiplus_faq.htm
> > The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
> > Windows Forms Tips and Tricks RSS:
> > http://www.bobpowell.net/tipstricks.xml
> > Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
> > "Fei Li" <FeiLi@discussi ons.microsoft.c om> wrote in message
> > news:FEA02684-59D0-474A-84D6-AE6DD56C29A5@mi crosoft.com...
> >[color=darkred]
> >> How to Physically change the contents of the Icon property?
> >>
> >> "Bob Powell [MVP]" wrote:
> >>
> >>> Physically change the contents of the Icon property based on a
> >>> timer.
> >>>
> >>> --
> >>> Bob Powell [MVP]
> >>> Visual C#, System.Drawing
> >>> Answer those GDI+ questions with the GDI+ FAQ
> >>> http://www.bobpowell.net/gdiplus_faq.htm
> >>> The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml Windows
> >>> Forms Tips and Tricks RSS:
> >>>[/color]
> > http://www.bobpowell.net/tipstricks.xml
> >[color=darkred]
> >>> Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
> >>>
> >>> "Fei Li" <FeiLi@discussi ons.microsoft.c om> wrote in message
> >>> news:3A46FC46-D4FE-4CA8-ACCD-FF331DD28098@mi crosoft.com...
> >>>[/color][/color]
>[/color]
Comment
Comment