Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need to create onscreen keyboard which can be used for other application by calling the execution file.

What I have tried:

I have tried with help of sendkeys and appactivate.But in the appactivate we need to give the process name like notepad,..But I don't need like that.By calling the exe of the onscreen keyboard application in other application.
Posted
Updated 6-Sep-22 20:09pm

1 solution

The problem is that the keypad is an application, and if you are interacting with it (touch or click) then it is the "active application" and Windows doesn't store a "last application active" for you to reference - even if it did, it would probably be the desktop when you started the keyboard app from an icon or the taskbar!

This may help: https://stackoverflow.com/questions/2795558/c-sharp-sending-keyboard-events-to-last-selected-window[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900