| View previous topic :: View next topic |
| Author |
Message |
Mistrel
Joined: 12 Sep 2005 Posts: 188
|
Posted: Thu Jul 12, 2007 4:11 am Post subject: Sending mouse and keyboard events to a child window? |
|
|
I'm trying to disable mouse/keyb events on the child window without actually disabling it so that it functions normally but won't steal focus from the parent when clicked on.
My question is, is there a way to still send events to it without giving it focus? I can already detect when the mouse is over the child window and have an empty hotkey assigned to it. Now all I need is a way to send mouse events and keystrokes without it taking focus.
I'm using this method to set one window as the child of another.
http://www.autohotkey.com/forum/topic8906.html
Thanks.  |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
|
| Back to top |
|
 |
Mistrel
Joined: 12 Sep 2005 Posts: 188
|
Posted: Thu Jul 12, 2007 4:48 am Post subject: |
|
|
That method of preventing focus is very nice except that it only functions on the parent script and not the child. It also doesn't prevent focus when a keystroke is sent to it.
Or better yet, if I could simply activate the child window without the parent losing focust (bar greying out) that would be super. The whole point is to prevent the parent window from greying out when the child window is in focus but still be able to send input to the child, like a normal application made of a parent and child windows, like photoshop.
Is there some way to attach it to the same process? |
|
| Back to top |
|
 |
|