void CBCGPCommandManager::SetNumericNotificationBadge | ( | UINT | uiCmd, |
int | nNumber, | ||
COLORREF | clr = CLR_DEFAULT , |
||
BOOL | bRedraw = TRUE |
||
) |
Specifies a numeric notification badge associated with a given command.
uiCmd | ID of command associated with the badge. |
nNumber | The notification badge numeric value. |
clr | The notification badge bacground color. |
bRedraw | Specifies 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).