BCGControlBar Pro for MFC
void CBCGPButton::SetStdIcon ( LPCTSTR  szStdIconID,
BOOL  bIsLargeIcon = FALSE 
)

Set the button's image to be a standard stock icon.

Call this member function to set a new button's image taken from the stock icons (such as information or error).

Parameters
szStdIconIDOne of the following: IDI_INFORMATION, IDI_WARNING, IDI_ERROR, IDI_QUESTION or IDI_SHIELD.
bIsLargeIconSpecifies whether the icon is large.