BCGControlBar Pro for MFC
void CBCGPCaptionBar::RemoveIcon ( )

Removes an icon from a caption bar.

Use the RemoveIcon member function to remove the icon, which has been set by SetIcon(), from a caption bar.