[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

SetWorldWindowStatus

Script function

world.SetWorldWindowStatus

Read about scripting

Type

Method

Summary

Changes the status of the current world window

Prototype

void SetWorldWindowStatus(short Parameter)

View list of data type meanings

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.


Available in MUSHclient version 4.60 onwards.



Lua example

SetWorldWindowStatus (1) -- maximize

SetWorldWindowStatus (4) -- show as normal


Return value

Nothing.


See Also ...

Function

(GetInfo) Gets information about the current world

(Help topic: function=SetWorldWindowStatus)

Documentation contents page


Search ...

Enter a search string to find matching documentation.

Search for:   

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]