Name
SetPointer -- change mouse pointer (V6.0)
Synopsis
void SetPointer(APTR handle, int type, APTR data);
Function
This function must change the display's mouse pointer to the one that is requested by Hollywood. The second parameter describes the requested mouse pointer type. This can be one of the following types:

HWPOINTER_SYSTEM:
Mouse pointer should be changed to the system's default mouse pointer.

HWPOINTER_BUSY:
Mouse pointer should be changed to a system mouse pointer that indicates that the application is currently busy.

HWPOINTER_CUSTOM:
Mouse pointer should be changed to a custom mouse pointer allocated by CreatePointer(). If type is set to HWPOINTER_CUSTOM, a handle to the custom mouse pointer is passed in the data parameter. Otherwise the data parameter is NULL.

Inputs
handle
display handle returned by OpenDisplay()
type
desired mouse pointer type (see above for supported types)
data
if type is HWPOINTER_CUSTOM, this is set to a handle returned by CreatePointer(), otherwise it is NULL

Show TOC