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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help remapping 1

Status
Not open for further replies.

dotnetprogrammer

Programmer
Aug 17, 2000
77
US
I need to write a keyboard remapping program using VB. Here is a description of it has to do:

When I type a+e, the "keyboard remapping program" has to generate æ (ASCII 0230) character instead. When I type o followed by two periods (.), those three keystrokes has translate as ö (ASCII 0246), etc. (get the idea?).
When my "keyboard remapping program" is active keystrokes made in any application (Word. Excel, etc.) will have to remap the keystrokes.
I think I have to use global KeyHook through Win API, but I am not sure how to do it.
MSDN probably has an example of such "KeyHook" API, and I could not figure out how to implement it.
Any help will be highly appreciated. [sig][/sig]
 
Mi amigo...go2 or somethin like that...they have some code to hook the keyboard...ur next step is ta identify which window has da focus! use GetWindowFromPoint or somethin similar.....when I have time I'll write u up on everythin. its 12:00 right now and I don't feel like writin a bunch.

cya
—Jonathan [sig][/sig]
 
Thanks for your response! I will be looking forward for the 'example code' from you. [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top