Shoutbox

Help!!! I want to make windows - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Help!!! I want to make windows (/showthread.php?tid=64052)

Help!!! I want to make windows by guardian-of-souls on 07-26-2006 at 04:01 PM

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
RE: Help!!! I want to make windows by deAd on 07-26-2006 at 04:04 PM

Is your XML file unicode?


RE: Help!!! I want to make windows by guardian-of-souls on 07-26-2006 at 04:08 PM

no that it was not but i see two unicode options witch do i need

a) ansi
b) unicode
c) unicode big endian
d) utf-8


RE: Help!!! I want to make windows by Silentdragon on 07-26-2006 at 06:38 PM

Just plain Unicode should do it for you.


RE: Help!!! I want to make windows by guardian-of-souls on 07-26-2006 at 06:55 PM

oke thanx