1. disable keyboard mouse

Is it possible to disable mouse and keyboard for user for a while?
I want to do this while my program is sending keyboard and mouse commands
with sendkeys.ew and sendmouse.ew. If user will use keyboard or mouse in
this time it won't execute right.

new topic     » topic index » view message » categorize

2. Re: disable keyboard mouse

Hi Tone,
   I assume that your program is sending the events to a program that
wasn't made by you. So one way to disable keyboard and mouse events
would be to hook the keyboard and mouse events. You can achive this
with the setWindowsHookEx function (read the Windows documentation for
more information about this).

Best Regards,
   Guillermo Bonvehi

PS: I have a experimental keyboard hook made on euphoria (it still has
some bugs on it). If you want it let me know.

--- tone.skoda at gmx.net wrote:
> 
> Is it possible to disable mouse and keyboard for user for a while?
> I want to do this while my program is sending keyboard and mouse
> commands
> with sendkeys.ew and sendmouse.ew. If user will use keyboard or mouse
> in
> this time it won't execute right.

new topic     » goto parent     » topic index » view message » categorize

3. Re: disable keyboard mouse

I though that there was some simple function maybe.
You can send me your code for hooks.
tone.skoda at siol.net

----- Original Message ----- 
From: <pampeano at rocketmail.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: disable keyboard mouse


> 
> Hi Tone,
>    I assume that your program is sending the events to a program that
> wasn't made by you. So one way to disable keyboard and mouse events
> would be to hook the keyboard and mouse events. You can achive this
> with the setWindowsHookEx function (read the Windows documentation for
> more information about this).
> 
> Best Regards,
>    Guillermo Bonvehi
> 
> PS: I have a experimental keyboard hook made on euphoria (it still has
> some bugs on it). If you want it let me know.
> 
> --- tone.skoda at gmx.net wrote:
> > 
> > Is it possible to disable mouse and keyboard for user for a while?
> > I want to do this while my program is sending keyboard and mouse
> > commands
> > with sendkeys.ew and sendmouse.ew. If user will use keyboard or mouse
> > in
> > this time it won't execute right.
> 
> 
> 
> TOPICA - Start your own email discussion group. FREE!
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu