BCGSoft > Products > Product feature tour

Product feature tour

Context | First | Prev | Next | Last
Fully implemented BCGControlBar Pro (MFC)
Not available BCGSuite (MFC)
Not available BCGControlBar (Microsoft .NET)

Ribbon Bar Notification Badges

A notification badge is a small-size element placed near control and indicating some event associated with control. For example, you may add a numeric badge with a number of new mails to "Mail" button or Security Alert icon to the link control.
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);
Prev  Next