Partager via


CMFCColorBar::OnKey

Called by the framework when a user presses a keyboard button.

virtual BOOL OnKey(
   UINT nChar 
);

Parameters

  • [in] nChar
    The virtual-key code for the key that a user pressed.

Return Value

TRUE if this method processes the specified key; otherwise, FALSE.

Requirements

Header: afxcolorbar.h

See Also

Reference

CMFCColorBar Class

Hierarchy Chart