<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DxGUI/dxCreateWindow?action=history&amp;feed=atom</id>
	<title>DxGUI/dxCreateWindow - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DxGUI/dxCreateWindow?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxGUI/dxCreateWindow&amp;action=history"/>
	<updated>2026-05-15T01:51:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxGUI/dxCreateWindow&amp;diff=36936&amp;oldid=prev</id>
		<title>AsuS Mta: Created page with &quot;This function is for creating a new dxGUI window.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; element dxCreateWindow( float x, float y, float width, float height, string titleBarText,[int color=w...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxGUI/dxCreateWindow&amp;diff=36936&amp;oldid=prev"/>
		<updated>2013-08-20T22:32:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This function is for creating a new dxGUI window.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; element dxCreateWindow( float x, float y, float width, float height, string titleBarText,[int color=w...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This function is for creating a new dxGUI window.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dxCreateWindow( float x, float y, float width, float height, string titleBarText,[int color=white,string font=default,string theme=dxGetDefaultTheme()] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the dxGUI window on a player's screen.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the dxGUI window on a player's screen.&lt;br /&gt;
*'''width:''' A float of the width of the dxGUI window.&lt;br /&gt;
*'''height:''' A float of the height of the dxGUI window.&lt;br /&gt;
*'''titleBarText:''' A string of the text that will be displayed in the title bar of the window.&lt;br /&gt;
*'''color:''' This the color of dxGUI: tocolor(255,255,255,255).&lt;br /&gt;
*'''font:''' This the font text of dxGUI titleBarText: &amp;quot;default-bold&amp;quot;.&lt;br /&gt;
*'''theme:''' This the theme of dxGUI: &amp;quot;Lighter Black&amp;quot;,&amp;quot;Lighter Blue&amp;quot;,&amp;quot;Orange&amp;quot; in themes.xml you can add more.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a dxgui window element if it was created successfully, false otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
'''Example 1:''' This example creates a window.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
exports.dxGUI_v1:dxCreateWindow(0,0,250,300,&amp;quot;hola&amp;quot;,tocolor(255,0,0,255),&amp;quot;default-bold&amp;quot;,&amp;quot;Orange&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Tutorial by pekio123==&lt;/div&gt;</summary>
		<author><name>AsuS Mta</name></author>
	</entry>
</feed>