BCGControlBar Pro for MFC
static BOOL CBCGPToolBar::SetCommandUsageOptions ( UINT  nStartCount,
UINT  nMinUsagePercentage = 5 
)
static

Allows to customize the appearance method of recently used menus.

Use this function to customize the algorithm that calculates how recently used menu items appear.

For example, if the "About" command is not a basic command (defined by CBCGPToolBar::SetBasicCommands), this command will be displayed if the number of its invocations exceeds nMinUsagePrecentage (%) of total.

Parameters
nStartCountSpecifies the number of the command invocations after which the library begins to show by default basic and recently used items only.
nMinUsagePercentagePercent (%) of command clicks required to declare a command as a recently used command.