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
« Next Oldest Return to Top Next Newest »

Messages In This Thread
help with interfaces - by liquidfluid on 11-26-2006 at 02:45 PM
RE: help with interfaces - by Dempsey on 11-26-2006 at 02:47 PM
RE: help with interfaces - by liquidfluid on 11-26-2006 at 02:57 PM


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