CGXChild::KeyPressed
virtual BOOL KeyPressed(UINT nMessage, UINT nChar, UINT nRepCnt = 1, UINT flags = 0);
nMessage
Specifies the message. This can be WM_KEYDOWN, WM_CHAR or WM_SYSKEYDOWN.
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).
flags
Specifies the scan code, key-transition code, previous key state, and context code, as shown in CWnd::OnKeyDown.
Return Value
TRUE if the key has been processed; FALSE otherwise.
Remarks
Called when the user has pressed a key and the CGXChild is the currently focused child in the parent control.
See Also
CGXGridCore::ProcessKeys CGXControl::OnClickedButton CGXControl::KeyPressed