Aide:GUISetState.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
GUISetState
###Description###
Changes the state of a GUI window.
###Syntax###
GUISetState ( [flag [, winhandle]] )
###Parameters###
@@ParamTable@@
flag
[optional] @SW_SHOW = Shows a previously hidden window (default)
@SW_HIDE = Hide window
@SW_MINIMIZE = Minimize window
@SW_MAXIMIZE = Maximize window
@SW_RESTORE = Undoes a window minimization
@SW_DISABLE = Disables the window
@SW_ENABLE = Enables the window
@SW_LOCK = Lock the window to avoid repainting.
@SW_UNLOCK = Unlock windows to allow painting.
winhandle
[optional] Windows handle as returned by GUICreate (default is the previously used window).
@@End@@
###ReturnValue###
@@ReturnTable@@
Success: Returns 1.
Failure: Returns 0.
@@End@@
###Remarks###
When windows are created they are initially hidden so you must use this function to display them (@SW_SHOW).
Only one window can be locked with @SW_LOCK. Any other @SW_LOCK will lock the requested window.
@SW_UNLOCK just ignored the "winhandle" to unlock any locked window.
###Related###
GUICreate
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
Texte en Français
Traducteur :
Contributeurs (pour les modifications avant le Wiki) :