Skip to content

Latest commit

 

History

History
67 lines (45 loc) · 1.4 KB

icon-resource.md

File metadata and controls

67 lines (45 loc) · 1.4 KB
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
ICON resource Menus and Other Resources
apiref
ICON
NA
reference
05/31/2018

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