Is there a way to tell the difference bettween left and right ctrl/alt Keys? I'll be using VS2003, c++ or c#.
JMD
Is there a way to tell the difference bettween left and right ctrl/alt Keys? I'll be using VS2003, c++ or c#.
JMD
Actually the windows board
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
http://msdn.microsoft.com/library/de..._Key_Codes.asp
MSDN says the virtual key codes are VK_LCONTROL and VK_RONTROL for left and right ctrl keys, although I suspect the latter was a typo. The others alts are there too: VK_LMENU and VK_RMENU
"Think not but that I know these things; or think
I know them not: not therefore am I short
Of knowing what I ought."
-John Milton, Paradise Regained (1671)
"Work hard and it might happen."
-XSquared
Thanks, I wasn't sure what board it should go in.