Xmanager Forum

how to send keys/key board events into xmanager

Last post: Monday, May 10, 2004 5:04 PM by Support, 3 reply

 
Friday, May 7, 2004 7:14 AM - ilya

how to send keys/key board events into xmanager

 
Hello,

Version is 1.3.9

We are running it like:
Xrcmd.exe -protocol RLOGIN -host XXX-ACIS -user aaa
-password bbb -command $DISPLAY';

Then we are trying to get window handle and send some keystrokes when needed. We can bring window to front (means we working with correct window) but when we are trying to send some keystrokes (fill some values in the selected edit areas) nothing appears in the ACIS window.

Do you know if it can be done and if yes, please, let me know how.

All the best,
ilya



Friday, May 7, 2004 5:57 PM - Support

Re: how to send keys/key board events into xmanager

 
Xmanager needs scancode as well as virtual-key code to process input events.
In the WM_KEYDOWN event, wParam is a vritual-key code and lParam has a scancode value for the key. You should pass both wParam and lParam for Xmanager. For more information, please read SDK documentation for WM_KEYDOWN/WM_KEYUP.

You can find the scancode of each key from the Keyboard Editor program provided with Xmanager.

Hope this helps you.

----
Technical Support
Friday, May 7, 2004 10:36 PM - ilya

Re: Re: how to send keys/key board events into xmanager

 

Thanks for your help.
Which window handle I need to send these messages to? I need to know Window class and caption/title.

Thanks in advance,
ilya
Monday, May 10, 2004 5:04 PM - Support

Re: Re: Re: how to send keys/key board events into xmanager

 
The class and caption names are:

- Class name: "Xmanager:XFrame"
- Caption name: Specified by the X application

Please be sure that we may change the class name in our future version.

----
Technical Support