BCGControlBar Pro for MFC
BOOL CBCGPMessageBox::m_bUseNativeIcons
static

This global flag specifies whether the Windows native icons will be used in the message boxes. By default, the message box displays an MS Office-style icon.