Share via


ICON Resource (Windows Embedded CE 6.0)

1/6/2010

This resource-definition statement specifies a bitmap that defines the shape of the icon to be used for either a specified application or an animated icon.

      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 file name, and 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 code example shows how to specify two icon resources.

desk1 ICON desk.ico
11 ICON custom.ico 

See Also

Concepts

Resource-Definition Statements