BCGControlBar Pro for MFC
CBCGPRibbonQATDefaultState

Detailed Description

The class CBCGPRibbonQATDefaultState is a helper class, which manages Ribbon's Quick Access Toolbar (QAT) default state. You should set up this class by adding or removing commands and then call CBCGPRibbonBar::SetQuickAccessDefaultState.

Users can customize QAT at runtime. When user reset a customized QAT, the QAT is restored according to its default state provided by CBCGPRibbonQATDefaultState.

See also
CBCGPRibbonBar

Public Member Functions

 CBCGPRibbonQATDefaultStateConstructs the QAT state object.
 
 AddCommandAdds a command to the QAT's default state.
 
 RemoveAllRemoves all commands from QAT default state.