CMFCRibbonBaseElement::OnSetFocus

Called by the framework when a ribbon element receives or loses the input focus.

virtual void OnSetFocus(
   BOOL B 
);

Remarks

Override this method in a derived class if you want your application to handle a change in the focus of a ribbon element.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart