BCGControlBar Pro for MFC
virtual HICON CBCGPUserTool::LoadDefaultIcon ( )

Called by the framework to load a user-defined tool icon, if the icon can't be loaded from the tool's executable.

A handle to loaded icon (HICON). It can be NULL if the default icon can't be loaded.

This function is called by the framework when it is unable to load an icon for user-defined tool from the executable file of the tool. The default tool icon is taken from BCGControlBar Library resources.

Override this member function to supply your application-defined tool icon.