SetCursorResourceID

All Editions  image\bltlrgss.gif Related Transactions

The SetCursorResourceID transaction sets the specified pointer (or cursor) to a different resource identifier. In this way you can change the pointer shape.

Type XTYP_EXECUTE

Syntax [SetCursorResourceID(cursor, resourceID)]

Parameter

Data type

Values

Meaning

cursor

WORD

Cursor numbers

current resource ID for the cursor

resourceID

DWORD

identifier of the cursor resource to use for the pointer. This would be in an external resource DLL.

Remarks

Make sure that the specified external resource DLL has been loaded first using LoadResourceLibrary.

Release information

Added in Release 4.5.

See also

Changing the pointer shape