<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://ubersoft.org/Sputnik/wiki/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_WinSetState</id>
		<title>Core Function WinSetState - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_WinSetState"/>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_WinSetState&amp;action=history"/>
		<updated>2026-05-16T10:10:25Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_WinSetState&amp;diff=5434&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_WinSetState&amp;diff=5434&amp;oldid=prev"/>
				<updated>2015-06-14T12:38:51Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:38, 14 June 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_WinSetState&amp;diff=5433&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_WinSetState&amp;diff=5433&amp;oldid=prev"/>
				<updated>2014-08-11T21:40:40Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:40, 11 August 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_WinSetState&amp;diff=990&amp;oldid=prev</id>
		<title>UberFoX: Created page with &quot;&lt;pre&gt; WinSetState ( &lt;title&gt;, &lt;text&gt;, &lt;flag&gt; ) &lt;/pre&gt;  === Description ===  Shows, hides, minimizes, maximizes, or restores a window.  === Parameters ===  ==== Title ====  The tit...&quot;</title>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_WinSetState&amp;diff=990&amp;oldid=prev"/>
				<updated>2011-11-30T06:52:43Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; WinSetState ( &amp;lt;title&amp;gt;, &amp;lt;text&amp;gt;, &amp;lt;flag&amp;gt; ) &amp;lt;/pre&amp;gt;  === Description ===  Shows, hides, minimizes, maximizes, or restores a window.  === Parameters ===  ==== Title ====  The tit...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
WinSetState ( &amp;lt;title&amp;gt;, &amp;lt;text&amp;gt;, &amp;lt;flag&amp;gt; )&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
Shows, hides, minimizes, maximizes, or restores a window.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
==== Title ====&lt;br /&gt;
&lt;br /&gt;
The title of the window.&lt;br /&gt;
&lt;br /&gt;
==== Text ====&lt;br /&gt;
&lt;br /&gt;
The text of the window to read.&lt;br /&gt;
&lt;br /&gt;
==== flag ====&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;show&amp;quot; flag of the executed program:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@SW_HIDE = Hide window&lt;br /&gt;
@SW_SHOW = Shows a previously hidden window&lt;br /&gt;
@SW_MINIMIZE = Minimize window&lt;br /&gt;
@SW_MAXIMIZE = Maximize window&lt;br /&gt;
@SW_RESTORE = Undoes a window minimization or maximization&lt;br /&gt;
@SW_DISABLE = Disables the window&lt;br /&gt;
@SW_ENABLE = Enables the window&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
&lt;br /&gt;
Success: Returns 1. &lt;br /&gt;
&lt;br /&gt;
Failure: Returns 0.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
If multiple windows match the criteria, the most recently active window is used.&lt;br /&gt;
&lt;br /&gt;
@SW_MINIMIZE and @SW_MAXIMIZE even work on modal dialog windows.&lt;br /&gt;
&lt;br /&gt;
See &amp;quot;WinTitleMatchMode&amp;quot; in [[Core Function Opt|Opt]]&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
WinSetState(&amp;quot;Untitled -&amp;quot;, &amp;quot;&amp;quot;, @SW_HIDE);&lt;br /&gt;
Sleep(3000);&lt;br /&gt;
WinSetState(&amp;quot;Untitled -&amp;quot;, &amp;quot;&amp;quot;, @SW_SHOW);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Core Function]]&lt;/div&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	</feed>