BCGControlBar Pro for MFC
virtual void CBCGPBaseRibbonElement::OnSetFocus ( BOOL  bSet)
inlineprotectedvirtual

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

Override this method in a derived class if you wish to be notified about setting focus on a ribbon element.

Parameters
bSetTRUE: the element receives the input focus; FALSE - loses.