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?
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?