- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using CVF 6.6C.
Is there a way to capture the pressing of the NumLock key within a QuickWin or a Console application?
I have looked at the GETCHARQQ and PASSDIRKEYSQQ documentation but these procedures don't seem to solve the problem.
Thanks in advance!
Lars
Is there a way to capture the pressing of the NumLock key within a QuickWin or a Console application?
I have looked at the GETCHARQQ and PASSDIRKEYSQQ documentation but these procedures don't seem to solve the problem.
Thanks in advance!
Lars
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can install a WH_KEYBOARD hook procedure. See here:
http://softwareforums.intel.com/ids/board/message?board.id=15&message.id=1110
I think that, specifically, for Num (Caps, Scroll) Lock you can test the current state by checking whether the return value from GetKeyState has bit 1 set.
I'm not sure whether it's applicable to console applications though.
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Jugoslav!
BTW! I have just unloaded and installed your XFT software with abolutely no problem at all. The sample that I have tried works fine!
Lars
BTW! I have just unloaded and installed your XFT software with abolutely no problem at all. The sample that I have tried works fine!
Lars

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page