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


COleControl::OnKeyPressEvent

Called by the framework after the stock KeyPress event has been fired.

virtual void OnKeyPressEvent(
   USHORT nChar 
);

Параметры

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

Заметки

Note that the nChar value may have been modified by the container.

Override this function if you want notification after this event occurs.

Требования

Header: afxctl.h

См. также

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

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::FireKeyPress