How do I "flash" my notifyicon?

  • Thread starter Thread starter wobbles
  • Start date Start date
W

wobbles

Hi Everyone,

I'd like my notifyicon icon to change every few seconds on a given
event.

I guess I'd approach this using System.Timers.Timer or the
Windows.Forms.Timer, where I'd set the "Enabled" property of the timer
to "true" in the eventhandler.

I've tried this but with little success.

Can anyone tell me the best way to achieve this?


Thanks,
Wobbles
 
Well what I'd do is to set a timer, and change the icon between a picture
and a BLANK icon.
 
* wobbles said:
I'd like my notifyicon icon to change every few seconds on a given
event.

I guess I'd approach this using System.Timers.Timer or the
Windows.Forms.Timer, where I'd set the "Enabled" property of the timer
to "true" in the eventhandler.

I've tried this but with little success.

What's the problem?
 
What's the problem?


Hello Herfried,

A part of my code that was referencing an external assembly seemed to
prevent my Timer control from working properly.
Using System.Timers.Timer, it seems to have worked okay now.

Thanks for asking though.
Wobbles
 
Back
Top