title | description | ms.assetid | keywords | topic_type | api_name | api_type | ms.topic | ms.date | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
ICON resource |
Defines a bitmap that defines the shape of the icon to be used for a given application or an animated icon. |
a8e3205e-e17a-4daf-a599-4dc89cb1e640 |
|
|
|
|
reference |
05/31/2018 |
Defines a bitmap that defines the shape of the icon to be used for a given application or an animated icon.
nameID ICON filename
-
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.
Icon and cursor resources can contain more than one image.
The following example defines two icon resources:
desk1 ICON "desk.ico"
11 ICON "custom.ico"