Welcome to the Monastery | |
PerlMonks |
Re: Perl ScreenSaverby paulbort (Hermit) |
on Feb 25, 2003 at 16:19 UTC ( [id://238470]=note: print w/replies, xml ) | Need Help?? |
I'm just learning Perl::Tk, but I'm guessing that you will need to do something like trap all keyboard and mouse events on the main window, and minimize on any event. You should probably also watch for the main window losing focus, which could indicate a system keystroke like SAS (Secure Attention Sequence) or the "Windows" key. If you can bear to read VB, Microsoft has an example of the API calls.
-- Spring: Forces, Coiled Again!
In Section
Seekers of Perl Wisdom
|
|