views:

215

answers:

2

Hi guys,

I'm trying to create a bandwidth monitor - I've done most of it, but I want to have a notifyicon that changes dependent on the bandwidth.

The same as when you open task manager and then minimise it, there is a little animated bar graph by the clock showing CPU usage... How do I do that???

Any help would be appreciated.

+1  A: 

create an icon in memory and change the icon on the notify object?

or get a collection of icons

Fredou
+1  A: 

You can either render all possible images beforehand and then just shop appropriate icon in the tray, or you can draw icons dynamically at runtime.

See this for more info on second approach.

Anton Gogolev
Hmmm - this seems a lot more complicated that I was hoping!I will have a go at this when I get a spare 5 minutes!Thanks
Blind Trevor