We want to create a Windows desktop version of our weather widget
There are 2 special things about the widget.
- It consumes a lot of processor time while active - it displays an animated picture (Flash without GPU acceleration, unfortunately).
- It updates the weather from our server (frequent server requests from all widget users).
When the user does not look at the widget there is no need for animation and weather loading.
So I have an idea of putting my widget to sleep when it is not visible and hense not used.
Is it possible to detect whether the widget is used or not. Speaking precisely I need to know whether the widget is covered by other windows?
I mostly interested in Vista/7 gadgets engine, however I also would like to know if this problem is solved in these widget engines
- Yahoo widgets
- Google desktop
Hope to find some desktop widget guru here.
Pasha