SetCursorShape method
Available for all objects.
Prototype
SetCursorShape Proto hWnd:HWND, lCursorShape:LONG
Syntax
Invoke SetCursorShape, hWnd, lCursorShape
Function
Sets the CursorShape property for an object.
Parameters
hWnd
Handle to the object.
lCursorShape
A LONG value specifying the new cursor shape for the object. It can be one of the following values:
ecDefault 0 ecArrow 1 ecIBeam 2 ecWait 3 ecCross 4 ecUpArrow 5 ecSizeAll 6 ecSizeNWSE 7 ecSizeNESW 8 ecSizeWE 9 ecSizeNS 10 ecNoDrop 11 ecAppStarting 12 ecHelp 13 ecCustom 14
Return value
Eax returns TRUE if succesful, or FALSE if not.