Do you know where your variables are? | |
PerlMonks |
Re: is it possible to achieve exclusive control of the windows desktop ?by halley (Prior) |
on Jul 22, 2003 at 16:38 UTC ( [id://276808]=note: print w/replies, xml ) | Need Help?? |
It's not clear if you want to "achieve exclusive control" or if you merely want to implement a screen saver.
In Win32, screensavers are special executables which don't contain a regular window procedure or message loop of their own, but are handed certain filtered messages through a special window procedure. If you google for "MfcSaver" you'll get my C++ classes which wrap the Win32 concept of a screensaver. I haven't seen any script-language bindings for an equivalent program without the native window procedure. If you're looking to achieve exclusive control, you'll have to get more detailed: do you want to get keyboard hooks? mouse capture? GDI lockdown? Each of these should be pretty straightforward if not childs' play with the perl-Win32 API bindings, but it's an API of inclusion: by that, I mean that you have to know what you want to control before you can add support to control it. Any Windows feature your program isn't aware of, it won't be able to control. There's no "lock down everything, and let me unlock this or that," at least, none which are documented. --
In Section
Seekers of Perl Wisdom
|
|