Click here to Skip to main content
15,903,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm developing a generic on-screen keyboard in Windows (XP, Vista, 7). I need to detect when the user has focused on a textbox to automatically show the keyboard, and hide it when textbox loses focus.

Is there anyway I can achieve this? (The textbox is from other applications that I do not have codes for. I'm looking for a solution that can work for most generic applications).

Thanks for any help or pointers.
Posted

Go through this , this may helps you

http://www.pinvoke.net/default.aspx/user32/FindWindow.htm[^]
 
Share this answer
 
Look at implementing a system-wide hook function.
 
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