ICON Resource

The ICON resource-definition statement specifies a bitmap that defines the shape of the icon to be used for a given application or an animated icon.

Syntax

nameID ICON filename
 

Parameters

nameID
Specifies either a unique name or a 16-bit unsigned integer value identifying the resource.
filename
Specifies the name of the file that contains the resource. The name must be a valid filename; it must be a full path if the file is not in the current working directory. The path can either be a quoted or nonquoted string.

Remarks

Icon and cursor resources can contain more than one image.

Example

The following example specifies two icon resources:

desk1   ICON desk.ico
11      ICON custom.ico