Method XbpCrt():setPointer() Foundation
Defines the shape of the mouse pointer.
:setPointer( [<cDllName>], <nResID>, ; [<nType> ], [<lFrame>] ) --> lSuccess
|XBPSTATIC_SYSICON_DEFAULT||Default mouse pointer|
|XBPSTATIC_SYSICON_WAIT||Hour glass or clock|
|XBPSTATIC_SYSICON_MOVE||Move the window|
|XBPSTATIC_SYSICON_SIZE||Change size (all directions)|
|XBPSTATIC_SYSICON_SIZENWSE||Change size (North west-South east)|
|XBPSTATIC_SYSICON_SIZENESW||Change size (North east-South west)|
|XBPSTATIC_SYSICON_SIZEWE||Change size (West-East)|
|XBPSTATIC_SYSICON_SIZENS||Change size (North-South)|
|XBPWINDOW_POINTERTYPE_POINTER *)||Mouse pointer is defined in a PTR file (OS/2) or CUR file (Windows)|
|XBPWINDOW_POINTERTYPE_SYSPOINTER||System defined mouse pointer|
|XBPWINDOW_POINTERTYPE_ICON||Mouse pointer is defined in an ICO file|
|XBPWINDOW_POINTERTYPE_ANIMPOINTER||Animated pointer is defined in an ANI file|
|XBPWINDOW_POINTERTYPE_OSHANDLE||Pointer is specified as an operating system handle obtained using a Win32 API call. The handle must be freed by the application after the Crt object is destroyed.|
This method returns .T. (true) if the mouse pointer's shape is defined. Otherwise, .F. (false) is returned.
The method :setPointer() defines the shape of the mouse pointer when it is moved across an XbpCrt window. The resource for the mouse pointer is identified by a numeric value and the corresponding resource file must be linked to an executable file (EXE or DLL).
If an animated pointer is to be set with the :setPointer() method, the corresponding ANI file must be compiled into the application as a user-defined resource as shown in the following example.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.