world.SetWorldWindowStatus
Changes the status of the current world window
Prototype
void SetWorldWindowStatus(short Parameter)
Description
The parameter lets you change the status of the world window as follows:
1: Activates the window and displays it as a maximized window. (SW_SHOWMAXIMIZED)
2: Minimizes the window and activates the top-level window in the system’s list. (SW_MINIMIZE)
3: Activates and displays the window. If the window is minimized or maximized, restores it to its original size and position. (SW_RESTORE)
4: Activates and displays the window. If the window is minimized or maximized, restores it to its original size and position. (SW_SHOWNORMAL)
Any other value: Does nothing.
Lua example
SetWorldWindowStatus (1) -- maximize
SetWorldWindowStatus (4) -- show as normal
Return value
Nothing.
See also
| Function | Description |
|---|---|
| GetInfo | Gets information about the current world |