BCGControlBar Pro for MFC
static BOOL CBCGPToolBar::IsCommandRarelyUsed ( UINT  uiCmd)
static

Determines whether the specified command is rarely used or not.

Returns
Nonzero if the specified command is rarely used; otherwise 0.

Call this static member function to determine whether the specified by uiCmd command is rarely used or not. The IsCommandRarelyUsed function returns FALSE when the specified command:

  • belongs to the list of basic commands
  • is one of standard commands
  • the framework is in customization mode
  • the list of basic commands is empty
  • the command was frequently used (if the command usage percentage is more than 20%).
Parameters
uiCmdSpecifies the command to check.