BCGControlBar Pro for MFC
virtual void CBCGPBaseRibbonElement::SetApplicationModes ( UINT  nAppModes,
BOOL  bIncludeSubItems = TRUE 
)
inlinevirtual

Sets application modes where this control is visible.

Parameters
nAppModesThe application modes list.
bIncludeSubItemsTRUE to include, FALSE to exclude the sub items.

See CBCGPRibbonBar::SetApplicationModes method for more information about Ribbon Application Modes.