BCGControlBar Pro for MFC
void CBCGPTreeCtrlEx::SetItemNotificationBadge ( HTREEITEM  hItem,
const CString &  strBadge,
int  nColumn = 0,
COLORREF  clrText = CLR_DEFAULT,
COLORREF  clrFill = CLR_NONE,
BOOL  bRoundedCorners = FALSE,
BOOL  bRedraw = TRUE 
)

Sets an item notification badge.

Parameters
hItemHandle of item.
strBadgeThe badge value.
nColumnZero-based column index.
clrTextA badge foreground color.
clrFillA badge background color.
bRoundedCornersSpecifies whether a badge has rounded corners.
bRedrawSpecifies whether a control should be redrawn.