BCGControlBar Pro for MFC
virtual BOOL CBCGPBaseRibbonElement::OnProcessKey ( UINT  nChar)
inlineprotectedvirtual

Called by the framework when a ribbon element should process keyboard input.

Override this method in a derived class if the ribbon element needs to process keyboard input.

Parameters
nCharA key that was pressed
Returns
Should return TRUE if the ribbon element processes the key; otherwise FALSE.