robshere
July 19th, 2007, 10:23 AM
Hai All,
I'm creating an onscreen keyboard.In that I'm using the techinique of changing the focus from the keyboard window to the last focused window after the mouse click on the keyboard window and then sending the input using the keybd_event().
It is working good with notepad.
My problems are
1.It is not working with WordPad.
2.the oter problem is that if I'm having a password dialog created in MFC and while I'm trying to enter the password using the keyboard window,only thye current key entered is shown.the earlier one if exits is replaced.So I tried to store the last cursor postion and retrive it to set as soon as the password window getthe focus(ie,after the keybord windows button is pressed).But I'm not able to set the cursor to the previous postion of password dialog.
Please tell me some way to fix it.Or if my logic is inadiquate please refer me some suggestions or links to do that.When I checked the default Onscreen Keyboard supplied by "Windows" and it works really good.
Please tell me some way to proceed.
Thanks and regards
Robs Here
I'm creating an onscreen keyboard.In that I'm using the techinique of changing the focus from the keyboard window to the last focused window after the mouse click on the keyboard window and then sending the input using the keybd_event().
It is working good with notepad.
My problems are
1.It is not working with WordPad.
2.the oter problem is that if I'm having a password dialog created in MFC and while I'm trying to enter the password using the keyboard window,only thye current key entered is shown.the earlier one if exits is replaced.So I tried to store the last cursor postion and retrive it to set as soon as the password window getthe focus(ie,after the keybord windows button is pressed).But I'm not able to set the cursor to the previous postion of password dialog.
Please tell me some way to fix it.Or if my logic is inadiquate please refer me some suggestions or links to do that.When I checked the default Onscreen Keyboard supplied by "Windows" and it works really good.
Please tell me some way to proceed.
Thanks and regards
Robs Here