Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Deactivate/Activate Keyboard and mouse under Win32

by jplindstrom (Monsignor)
on Jun 16, 2001 at 22:35 UTC ( [id://89079]=note: print w/replies, xml ) Need Help??


in reply to Deactivate/Activate Keyboard and mouse under Win32

Just a minor point, but you donīt have to create a new API object each time you call it. So this line:
my $BlockInput = new Win32::API($Library, $Function, $ref_ParamsList, +$ReturnValue) or die $^E;
could equally well be located outside the sub. Just a thought.

/J

Replies are listed 'Best First'.
Re: Re: Deactivate/Activate Keyboard and mouse under Win32
by Sniper (Scribe) on Jun 17, 2001 at 09:22 UTC
    Yes, you're right,
    it's a bad Copy/Paste when i extracted this Snippet from the module i'm writing...

    David "Sniper" Rigaudiere

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://89079]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 06:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found