CODController::OnKeyDown
voidCODController::OnKeyDown(UINTnChar, UINTnRepCnt, UINTnFlags)
The framework calls this member function when a nonsystem key is pressed. A nonsystem key is a keyboard key that is pressed when the ALT key is not pressed or a keyboard key that is pressed when CWnd has the input focus.
Defined in: OdController.cpp
Return Value
void
Parameters
nChar
Specifies the virtual-key code of the given key.
nRepCnt
Repeat count (the number of times the keystroke is repeated as a result of the user holding down the key).
nFlags
Specifies the scan code, key-transition code, previous key state, and context code.