Please enable JavaScript to view this site.

ESL Documentation

Action Statement

Change the appearance of the mouse pointer.

set pointer to POINTER_VALUE [in FILE_NAME]

POINTER_VALUE

An integer value representing the bitmap pointer you want to use.

FILE_NAME

A string value representing the name, excluding the extension, of a dynamic link library containing pointer bitmaps.

Description

If you do not specify a FILE_NAME, then the POINTER_VALUE must refer to one of the pre-defined Windows or PM pointer bitmaps.

To use the constants in the WINPTR.INC file, be sure to include the file.

Note that the set pointer statement is not designed to work in dialog regions and dialog boxes.

Example

 

# In ESL for Windows:

include "winptr.inc"

 

...

 

# set pointer to hourglass

set pointer to SPTR_WAIT