By using this site you agree to the use of cookies by Brugbart and our partners.

Learn more

AutoIt GUISetState Function

Reference on the AutoIt GUISetState Function - what the GUISetState is used for.

Edited: 2015-01-15 22:05

The AutoIt GUISetState function is used to display freshly created GUI windows, and to change the state of existing GUI windows.


flag [optional]
  1. @SW_SHOW = Displays a previously hidden window (default)
  2. @SW_HIDE = Hide window
  3. @SW_MINIMIZE = Minimize window
  4. @SW_MAXIMIZE = Maximize window
  5. @SW_RESTORE = Undoes a window minimization
  6. @SW_DISABLE = Disables the window
  7. @SW_ENABLE = Enables the window
  8. @SW_LOCK = Lock the window to avoid repainting.
  9. @SW_UNLOCK = Unlock windows to allow painting.
winhandle [optional]The window handle as returned by WinGetHandle or GUICreate. Note. the window handle is not the same as a window title.