This function is used to set the mouse cursor for a particular graphical object. This method is the equivalent of VaToolBxSetFileCursor. In Java, cursors cannot be created from CUR or ANI files. Only GIF, JPEG and PNG images can be used.
Context
Java client,
Adelia Cloud client.
Parameters
GraphicalObjectName |
Name of the graphical object or window. |
|
ALPHA(n) |
CursorFile |
Name of the file containing the cursor. |
NUM_BIN_4 |
XCoord |
X coordinate used for cursor pointing. |
NUM_BIN_4 |
YCoord |
Y coordinate used for cursor pointing. |
BOOL |
ReturnCode |
Return code for the operation: *TRUE if the operation was successful. *FALSE if the operation failed. |
Example
CursorFile = 'c:\cursors\cursor.gif'
XCoord = 50
YCoord = 50
ReturnCode = *FALSE
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxJavaSetFileCursor' Applic_win CursorFile XCoord YCoord ReturnCode
List of the VaToolBx functions by topic