Share via


CURSOR Resource (Windows Embedded CE 6.0)

1/6/2010

This resource-definition statement specifies a bitmap that defines the shape of either the cursor on the display screen or an animated cursor.

nameID CURSOR filename

Parameters

  • nameID
    Specifies either a unique name or a 16-bit unsigned integer 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 cursor resources; the first by name and the second by number.

cursor1 CURSOR bullseye.cur
2 CURSOR "d:\\cursor\\arrow.cur" 

See Also

Concepts

Resource-Definition Statements