animations & custom painting in Today Screen Plug-in

  • Thread starter Thread starter JamesWPierce
  • Start date Start date
J

JamesWPierce

Hi,

I'm considering developing a Today Screen Plug-in using .NET as
described in the link at the bottom.

For my project I need to display a graphic animation in my region of
the today screen. I will need to call a custom paint routine to draw
my image quickly, repeatedly, and dynamically based on varying data.

My question is... Can I paint to my own region of the today screen or
do today screen updates paint/update the entire today screen at the
same time. I don't want to make the entire today screen repaint every
time I need to update my animation in my screen region.

So using the method mentioned in the link below can I modify the code
to invalidate just my region of the today screen or is it a limitation
that updates to the today screen will always cause the entire today
screen to refresh?

Is it possible to have FAST custom animations for a custom today
screen plug-in?

Thanks very much for your support!

http://msdn2.microsoft.com/en-us/library/ms839442.aspx
 
Hello (e-mail address removed),

As far as I know, the today screen refreshes (repaints?) every 2 seconds
- although I think this is configurable by the OEM. Since you don't directly
handle WM_PAINT (IIRC), there doesn't seem to be much you can do about that.
A possible hack would be to manually invalidate your own child window and
manually handle the WM_PAINT message.

At any rate I would be most interested in your research, if you would care
to share it for posterity's sake :-)

Regards,
Tomer Gabel (http://www.tomergabel.com)
Monfort Software Engineering Ltd. (http://www.monfort.co.il)
 
Back
Top