views:

8

answers:

0

Hey All,

I am creating a WPF screensaver, although this question isn't really WPF-specific.

I have code to do a screen capture when the screensaver kicks in (using GDI+ and Interop). This all works fine in Preview mode, but not in normal screensaver mode (even though both call the same code).

I'm guessing that Windows itself is clearing the screen and showing the background image before actually invoking the screen saver executable, but I wondered if there was a way to control that. FWIW, I am testing in XP SP3 Pro.

Thanks, wTs