Please help me I want to make an window i follow every step of patchou's scripting help file but it does not work and i don't kow what i do wrong.
here is the code of my xml file.
code:
<Interface xmlns:xsi="http://www.w3.org/201/XMLSchema-instance">
<Window Id="WndTest" Version="1">
<Attributes>
<Caption>Test Window</Caption>
</Attributes>
<Titlebar>
<Title><Text>Hello!</Text></Title>
</Titlebar>
<Position Width="180" Height="75"/>
<DialogTmpl/>
<Controls>
<Control xsi:type="StaticControl" Id="LblTop">
<Position Left="10" Top="10" Width="150"/>
<Caption>Hello World!</Caption>
</control>
<Control xsi:type="ButtonControl" Id="BtnClose">
<Position Left="112" Top="25" Width="50"/>
<Caption>Close</Caption>
</control>
</Controls>
</Window>
</Interface>
an here is my Window Test.js
code:
function OnEvent_Initialize(MessengerStart)
{
var Wnd = MsgPlus.CreateWnd("InterfaseTest.xml", "WndTest";
}
function OnEvent_Uninitialize(MessengerExit)
{
}
The two files are in the same folder.
Please help i don't realy know what i do wrong