Re: How to get ALL Keystrokes to a Window



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



.



Relevant Pages

  • Re: [PATCH] ncurses based config V2
    ... Fixed segfaults in help window. ... Added hot keys support. ... Optimized for 80x24 terminals. ... ESC prefix, I don't know). ...
    (Linux-Kernel)
  • Re: [PATCH] ncurses based config V2
    ... Fixed segfaults in help window. ... Removed the instructions window, made the instructions appear as a button ... Added hot keys support. ... ESC prefix, I don't know). ...
    (Linux-Kernel)
  • Re: Menu Not Available from Keyboard
    ... The Alt-menu keys all work as expected. ... which is used for the client area of the docking window. ... Q117500 and my accelerator keys now work when one of the child dialog box ... > "Jonathan Wood" wrote in message ...
    (microsoft.public.vc.mfc)
  • Re: [PATCH] ncurses based config V2
    ... Fixed segfaults in help window. ... Added hot keys support. ... of readability. ... ESC prefix, I don't know). ...
    (Linux-Kernel)
  • Re: SSH with PuTTY - Home/End keys dont work
    ... all is fine; the Home and End keys work. ... However, when I login from a Windows machine using the PuTTY client, ... Use tic -x scoansi-dm-cjc.ti to compile it into your terminfo database ... Close window on exit: ...
    (alt.os.linux.suse)

Quantcast