BCGControlBar Pro for MFC
void CBCGPCommandManager::SetNumericNotificationBadge ( UINT  uiCmd,
int  nNumber,
COLORREF  clr = CLR_DEFAULT,
BOOL  bRedraw = TRUE 
)

Specifies a numeric notification badge associated with a given command.

Parameters
uiCmdID of command associated with the badge.
nNumberThe notification badge numeric value.
clrThe notification badge bacground color.
bRedrawSpecifies whether control bars should be redrawn.

Call this method to specify a numeric notification badge associated with the command ID. The badge will be automatically displayed on all control bars which contain element(s) with specified id is located (toolbars, menus, ribbon bars).