Aide:GUICtrlSetCursor.txt

De Wiki AutoIt Français
Aller à : navigation, rechercher

Document original V3.3.6.1 :

###Function###
GUICtrlSetCursor

###Description###
Sets the mouse cursor icon for a particular control.

###Syntax###
GUICtrlSetCursor ( controlID, cursorID )


###Parameters###
@@ParamTable@@
controlID
	The control identifier (controlID) as returned by a <a href="GUICtrlCreate Management.htm">GUICtrlCreate...</a> function.
cursorID
	cursor ID as used by Windows SetCursor API (use -1 for the default mouse cursor for the control)
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Returns 1.
Failure:	Returns 0.
@@End@@


###Remarks###
Unlike GUISetCursor which changes the mouse cursor for an entire window, this function sets the mouse cursor that is used when the mouse is hovering over the specified control.

If the cursorID is invalid the standard arrow will be displayed.

For a list of valid cursor IDs see <a href="MouseGetCursor.htm">MouseGetCursor</a>.
CursorId = 16 will hide the mouse cursor.


###Related###
GUISetCursor


###Example###
@@IncludeExample@@


Document traduit V3.3.6.1 :

Texte en Français


Traducteur :

Contributeurs (pour les modifications avant le Wiki) :