CURSOR resource

Defines a bitmap that defines the shape of the cursor on the display screen or an animated cursor.

nameID CURSOR filename

Parameters

nameID

Unique name or a 16-bit unsigned integer 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 cursor resources; one by name (cursor1) and the other by number (2):

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

See also

Using Cursors