What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » help with interfaces

help with interfaces
Author: Message:
liquidfluid
New Member
*


Posts: 2
Joined: Nov 2006
O.P. help with interfaces
I'm trying to use windows im my script but I cannot even manage to start =(
Infact this script makes nothing! where is my error?

script:
code:
function OnEvent_Initialize(MessengerStart)
{
    var Wnd = MsgPlus.CreateWnd("test.xml", "WndTest");
}

test.xml (located in the script's folder):
code:
<Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:msgplus:interface PlusInterface.xsd">
   <Window Id="WndTest" Version="1">
      <Attributes>
         <Caption>Prova!</Caption>
      </Attributes>
      <TitleBar>
         <Title><Text>Hello!</Text></Title>
      </TitleBar>
      <Position Width="180" Height="75"/>
      <DialogTmpl/>
      <Controls>
         <Control xsi:type="ButtonControl" Id="BtnClose">
            <Position Left="112" Top="25" Width="50"/>
            <Caption>Close</Caption>
         </Control>
      </Controls>
   </Window>
</Interfaces>

thanks
11-26-2006 02:45 PM
Profile E-Mail PM Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: help with interfaces
Is the Window File definatley saved as unicode?
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
11-26-2006 02:47 PM
Profile E-Mail PM Web Find Quote Report
liquidfluid
New Member
*


Posts: 2
Joined: Nov 2006
O.P. RE: help with interfaces
no it was saved in ANSI (damned notepad) ... I tried unicode just now and it worked! thank you! (i didn't know that would cause a problem o.O)
11-26-2006 02:57 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On