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

Loads the new tool icon.

Returns
A handle to the loaded icon (small).

Call this function to load the icon to be displayed with the tool label in the menu. This function looks for the icon in the executable file. If it doesn't have a default icon the default framework-supplied icon is used.