Matthew Sibley wrote:
> Howdy,
>
> Is there a module that hooks into the RegisterHotKey function?
Win32::API maybe:
# Import:
my $DLL = 'user32';
$proto = 'BOOL RegisterHotKey(HWND hWnd, int id, UINT fsModifiers, UINT vk)';
Win32::API->Import($DLL, $proto) or die "import RegisterHotKey: $! ($^W)";
# Call:
my $ret = RegisterHotKey ($hWnd, $id, $fsModifiers, $vk);
if (not $ret) { die "RegisterHotKey: $! ($^E)"; }
Might be better to state want you want to accomplish.
--
,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED]
(_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED]
/ ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs