Ribbon Bar Notification Badges

Fully implemented BCGControlBar Pro (MFC)

Not available BCGSuite (MFC)

Not available BCGControlBar for .NET

A notification badge is a small-sized element placed near a control and indicating some event associated with the control. For example, you may add a numeric badge (which displays a number of the recently received mails) to the "Mail" button or the security alert icon to the link control.

Ribbon controls with notification badges:

Ribbon controls with notification badges:

Sample code:

// Specify numeric badges:
BCGPCMD_MGR.SetNumericNotificationBadge(
	ID_FILE_OPEN, 1);
BCGPCMD_MGR.SetNumericNotificationBadge(
	ID_CTRL_BADGE1, 5);
BCGPCMD_MGR.SetNumericNotificationBadge(
	ID_CTRL_BADGE2, 2, RGB(111, 0, 192));

// Specify custom badge:
BCGPCMD_MGR.SetCustomNotificationBadge(
	ID_CTRL_BADGE3, ID_CUSTOM_DATA);