ICON Option

Syntax

ICON=icon-file

The ICON option identifies the icon file to display when the user minimizes the Windows Help application.

Parameter

icon-file

Specifies the name of the icon file. This file must have the standard Windows icon-file format (.ICO file). You must create this file in an application such as Microsoft Windows Image Editor (IMAGEDIT.EXE) or other application that generates the .ICO file format. You can specify either an absolute or relative path if the file resides in a directory other than the Help project root directory.

Comments

If you do not include the ICON option in your Help project file, Help will use the standard question-mark icon when the user minimizes the Help file.

If the icon file is in an invalid format, or if Help cannot find the icon file, the Help compiler displays an error message on the screen during the build and ignores this option. In that case, Help will display the standard question-mark icon.

The ICON option only appears when the user minimizes Help. To have your custom icon appear in a Program Manager group, you must provide users with the icon file and then instruct them to use the Properties command in Program Manager to change the standard Help icon to your custom icon.

Example

The following example creates a custom icon for the Help file:

ICON=HYPER.ICO

See Also

[OPTIONS] Section