The information in this article applies to:
SYMPTOMSThe getch() run-time library function fails to return the correct extended character code for certain key sequences. There are two known situations in which incorrect codes are generated:
-or- STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATION
In the sample code below, the ALT key combined with any ASCII
character returns the ASCII character code instead of the extended
character code. The RIGHT CTRL key combined with any of the function
or editing keys also fails with Visual C++ 1.0, returning the code for the
function or editing key alone. The LEFT CTRL key combined with a function
key or editing key returns the correct code. The set of affected editing
keys are: END, PAGE UP, PAGE DOWN, HOME, RIGHT ARROW, and LEFT ARROW.
Sample Code
Additional query words: kbVC400bug
Keywords : kbCRT kbVC kbVC100bug kbVC200bug kbVC210bug kbVC400bug kbVC410bug kbVC420bug kbVC500bug kbVC600bug |
Last Reviewed: April 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |