SetWindowState()

Syntax

SetWindowState(#Window, State)
Description
Changes the minimized/maximized of the specified window.

Parameters

#Window The window to use.
State Can have one of the following values:
  #PB_Window_Normal  : The window will be neither maximized nor minimized.
  #PB_Window_Maximize: The window will be maximized. (Note: on Linux, not all Windowmanagers support this)
  #PB_Window_Minimize: The window will be minimized.

Remarks

GetWindowState() can be used to get the current state of the window.

See Also

GetWindowState()

Supported OS

All

<- SetWindowData() - Window Index - SetWindowTitle() ->