Screen Saver and GDI +

jfattizzi

New member
Joined
May 30, 2008
Messages
1
Programming Experience
1-3
Okay, I am using the VB.NET 2005 Screensaver starter kit and all is working well....except.

When I run the screen saver I cannot use a key to shutdown the screen saver. Moving the mouse works fine. I have the keyevent and keypress functions in my code.

The problem is when the screen saver runs there is a GDI + Window that seems to take focus away from my screensaver form (even though I have the screensaver form topmost). So by taking focus away, the keypresses do not stop the screen saver.

How can i remove the GDI + Window from taking focus?
 
Back
Top