Condividi tramite


CUserTool::LoadDefaultIcon

Loads the default icon for a user tool.

virtual HICON LoadDefaultIcon();

Return Value

A handle to the loaded icon (HICON), or NULL if the default icon cannot be loaded.

Remarks

The framework calls this method when it is unable to load an icon for a user-defined tool from the executable file of the tool.

Override this method to supply your own default tool icon.

Requirements

Header: afxusertool.h

See Also

Reference

CUserTool Class

Hierarchy Chart