PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Question about Virtual Keys

I am currently programming in VC++ 6.0. I just started reading from the keyboard and I noticed that VK_A through VK_Z are commented out. Will I be ok if I just use 0x41 for A, or should I be reading the keys a different way?
nm, I just tried it myself and it worked just fine.
angedelamort · 11 Nov 2002, 15:08 UTC
maybe you should use:
Code:

//instead of hexadecimal value
if (key == 'A')
//do something


It will be easier to read.