Re: How to get ALL Keystrokes to a Window
- From: "Eunet Uhser" <eunet_uhser@xxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 07:03:40 +0100
Hello Ajay
As far as I remember, there is some additional "instruction" like
USE_ALL_KEYS (or similar), which you have to define in some pre-exectuted
message, to ensure to get ALL possible keys. Otherwise you'll get only the
keys, which are non-system keys and not used by the system for other
(standard) purposes. But unfortunately I can't remember exactly.
Regards
Eunet
"Ajay Kalra" <ajaykalra@xxxxxxxxx> schrieb im Newsbeitrag
news:1164637465.659000.56580@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
How can I get ALL Keystrokes to a window?
And which message to overload to get the keystrokes at all?
If the window is out of process, you will need to write a system wide
keyboard hook(SetWindowsHookEx). For a window in your own app, look at
OnKeyDown ( ON_WM_KEYDOWN()).
---
Ajay
.
- References:
- How to get ALL Keystrokes to a Window
- From: Eunet Uhser
- Re: How to get ALL Keystrokes to a Window
- From: Ajay Kalra
- How to get ALL Keystrokes to a Window
- Prev by Date: Re: how to check east asian language in vc++
- Next by Date: Re: CRC-CCITT
- Previous by thread: Re: How to get ALL Keystrokes to a Window
- Next by thread: How to get frame color of a edit box, list box, etc. on XP?
- Index(es):
Relevant Pages
|