Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

KEYINFO::nKey?

May
12,998
174
Is there a way to get the VK code from KEYINFO::nKey. I'm interested in all keys. Thanks!
 
No.

Rex Conn
JP Software

Those codes in TakeCmd.h have nothing to do with Windows ... right? They must be ancient and you must need to go out of your way to turn Windows things into them (and vice cersa?). Do you think TCC will ever use some more modern alternative? I have attached ALL.TXT, a (long) list of key descriptions and WORDs associated with them. The HIBYTE is a modifier (MOD_CTRL, etc.) bitflag and the LOBYTE is a VK code. I have a routine for generating the WORD from the description. I hope you find it interesting.
 

Attachments

  • all.txt
    33.5 KB · Views: 252
> Those codes in TakeCmd.h have nothing to do with Windows ... right?
> They must be ancient and you must need to go out of your way to turn
> Windows things into them (and vice cersa?). Do you think TCC will ever
> use some more modern alternative?

It would take at least a month to rewrite the parser to support that, and
another month to debug it. It's not going to happen anytime in the near
future.

Rex Conn
JP Software
 
On Mon, 17 May 2010 23:03:35 -0400, rconn <> wrote:

|---Quote---
|> Those codes in TakeCmd.h have nothing to do with Windows ... right?
|> They must be ancient and you must need to go out of your way to turn
|> Windows things into them (and vice cersa?). Do you think TCC will ever
|> use some more modern alternative?
|---End Quote---
|It would take at least a month to rewrite the parser to support that, and
|another month to debug it. It's not going to happen anytime in the near
|future.

I figured it would be quite a chore!
--
- Vince
 
Back
Top