BCGControlBar Pro for MFC
HICON CBCGPGlobalUtils::GetCommonIcon ( const CWnd *  pWnd,
LPCTSTR  iconID,
BOOL  bLargeIcon = TRUE 
)

Returns a common icon such as "Information", "Error" or "Question".

Parameters
pWndA pointer to a window used by the DPI scaling.
iconIDIDI_INFORMATION, IDI_WARNING, IDI_ERROR or IDI_QUESTION.
bLargeIconSpecifies whether the returned icon should be large (32x32 in DPI 100%).