Поделиться через


COleControl::OnKeyUpEvent

Called by the framework after a stock KeyDown event has been processed.

virtual void OnKeyUpEvent(
   USHORT nChar,
   USHORT nShiftState 
);

Параметры

  • nChar
    The virtual key code value of the pressed key. For a list of standard virtual key codes, see Winuser.h

  • nShiftState
    Contains a combination of the following flags:

    • SHIFT_MASK   The SHIFT key was pressed during the action.

    • CTRL_MASK   The CTRL key was pressed during the action.

    • ALT_MASK   The ALT key was pressed during the action.

Заметки

Override this function if your control needs access to the key information after the event has been fired.

Требования

Header: afxctl.h

См. также

Основные понятия

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::OnKeyDownEvent

COleControl::OnKeyPressEvent