Re: How can I change/remap keys from inside my keyboard hook? (I've been searching all day...)
From: Thaddy de Koning (thaddy_at_replacethiswithmyfirstname.com)
Date: 01/14/05
- Next message: Maarten Wiltink: "Re: OnPaint Procedure call"
- Previous message: Vertuas: "Re: Can i do this????"
- In reply to: jklimek_at_gmail.com: "How can I change/remap keys from inside my keyboard hook? (I've been searching all day...)"
- Next in thread: Thaddy de Koning: "Re: How can I change/remap keys from inside my keyboard hook? (I've been searching all day...)"
- Reply: Thaddy de Koning: "Re: How can I change/remap keys from inside my keyboard hook? (I've been searching all day...)"
- Reply: Ante Smolcic: "Re: How can I change/remap keys from inside my keyboard hook? (I've been searching all day...)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 14 Jan 2005 09:18:40 GMT
You can not use messages, because you would fall back into the hook thus
creating an endless loop.
You should map the whole keyboard and xlat them into YOUR keyboad lay
out ( do it just once when the hook is installed) and look up from the hook.
The thins you need are the win32 api GetKeyboardstate and
SetKeyboardstate. These use very easy to handle arrays so it isnt
difficult at all
- Next message: Maarten Wiltink: "Re: OnPaint Procedure call"
- Previous message: Vertuas: "Re: Can i do this????"
- In reply to: jklimek_at_gmail.com: "How can I change/remap keys from inside my keyboard hook? (I've been searching all day...)"
- Next in thread: Thaddy de Koning: "Re: How can I change/remap keys from inside my keyboard hook? (I've been searching all day...)"
- Reply: Thaddy de Koning: "Re: How can I change/remap keys from inside my keyboard hook? (I've been searching all day...)"
- Reply: Ante Smolcic: "Re: How can I change/remap keys from inside my keyboard hook? (I've been searching all day...)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|