Ribbon Bar Notification Badges

Fully implemented BCGControlBar Pro (MFC)

Not available BCGSuite (MFC)

Not available BCGControlBar for .NET

A notification icon is a small graphical element located next to a ribbon control that indicates some event related to that control. For example, you could add a numeric icon displaying the number of new emails to a "Mail" button or a security alert icon to a "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);