The WindowEx.SetWindowCursor function Sets A New Cursor For Specified Window
boolean WindowEx.SetWindowCursor(
number hWnd, --handle to window
string CurFile --cursor file with FULL path
);
Parameters
hWnd
Identifies the window to change cursor.
CurFile
Specifies the cursor file,
filepath must be FULL ex:. "AutoPlay\\Icons\\MyCur.cur" or "C:\\MyCur.cur"
Return Values
If the function succeeds, the return value is TRUE
If an error occured, the return value is FALSE
This function returns FALSE (error) only if specified window not exist , TRUE otherwise
Remarks
To restore system default just call WindowEx.SetWindowCursor(hwnd,"");