BCGControlBar Pro for MFC
void CBCGPRibbonUserAccountButton::SetLoggedIn ( const CString &  strInitials,
COLORREF  clrFill,
COLORREF  clrText = CLR_DEFAULT,
BOOL  bRedraw = FALSE 
)

Sets the "logged-in" mode with the user initials.

Parameters
strInitialsSpecifies the user initials.
clrFillSpecifies the control background color.
clrTextSpecifies the control foreground color. If this parameter is CLR_DEFAULT, the color contrasted to clrFill will be used as the foreground color.
bRedrawSpecifies whether the control should be redrawn.