CURSOR Resource

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

Syntax

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 filename; 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 example specifies two cursor resources; one by name (cursor1) and the other by number (2):

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