CUserTool::SetToolIcon
Loads the icon for the user tool from the application that the tool uses.
virtual HICON SetToolIcon();
Return Value
A handle to the loaded icon.
Remarks
Call this method to load the icon to be displayed on the menu item. This method searches for the icon in the executable file that the tool uses. If it does not have a default icon, the icon provided by CUserTool::LoadDefaultIcon is used instead.
Requirements
Header: afxusertool.h