Condividi tramite


COleControl::OnKeyPressEvent

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

virtual void OnKeyPressEvent(
   USHORT nChar 
);

Parameters

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

Remarks

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

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

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

COleControl::FireKeyPress

Other Resources

COleControl Members