Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keystoke trapping and replacing

Status
Not open for further replies.

bhaskarss

Programmer
Jun 11, 2001
1
IN
Hi all

I am developing an app which changes the keyboard layout, so what i need is to changing all the kepress event to that of mine. Say if i press "a" it should display "z". THe very important criteria is it should be global to all the application running in windows. Even if i open MS-Word and type it should change automatically. Any idea on how to do this

Thank you
Bhaski
 
Use the SetWindowsHookEx API in a C++ DLL (it has to be in a DLL) and trap and remap all KeyStrokes in the CallBack routine. - Jeff Marler B-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top