Düzenle

Aracılığıyla paylaş


ICON resource

Defines a bitmap that defines the shape of the icon to be used for a given application or an animated icon.

nameID ICON filename

Parameters

nameID

Unique name or a 16-bit unsigned integer value identifying the resource.

filename

Name of the file that contains the resource. The name must be a valid file name; it must be a full path if the file is not in the current working directory. The path should be a quoted string.

Certain attributes are also supported for backward compatibility. For more information, see Common Resource Attributes.

Remarks

Icon and cursor resources can contain more than one image.

Examples

The following example defines two icon resources:

desk1   ICON "desk.ico"
11      ICON "custom.ico"

See also

Using Icons