BCGControlBar Pro for MFC
void CBCGPCommandManager::SetCustomNotificationBadge ( UINT  uiCmd,
UINT_PTR  nData,
BOOL  bRedraw = TRUE 
)

Specifies a custom notification badge associated with a given command.

Parameters
uiCmdID of command associated with the badge.
nDataA user-defined data asociated with the custom notification badge.
bRedrawSpecifies whether control bars should be redrawn.

Call this method to specify a custom notification badge associated with the command ID. You have to override OnDrawCommandCustomNotificationBadge method in your CMainFrame class! The badge will be automatically displayed on all control bars which contain element(s) with specified id is located (toolbars, menus, ribbon bars).