Sets the mouse cursor icon for a particular control.
GUICtrlSetCursor ( controlID, cursorID )
| controlID | The control identifier (controlID) as returned by a GUICtrlCreate... function. |
| cursorID | cursor ID as used by Windows SetCursor API (use -1 for the default mouse cursor for the control) |
| Success: | Returns 1. |
| Failure: | Returns 0. |
#include <GUIConstantsEx.au3>
Example()
Func Example()
GUICreate("put cursor over label", 300, 100)
GUICtrlCreateLabel("label", 125, 40)
GUICtrlSetCursor(-1, 4)
GUISetState()
While GUIGetMsg() <> $GUI_EVENT_CLOSE
WEnd
EndFunc ;==>Example