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

Help with MsgPlus.CreateWnd
Author: Message:
pedro_cesar
Junior Member
**

Avatar

Posts: 61
36 / Male / –
Joined: Dec 2006
Status: Away
O.P. Help with MsgPlus.CreateWnd
I'm embarrassed by posting this. I'm trying to use the function MsgPlus.CreateWnd and I can't seem to accomplish it, even following the documentation.

I have this XML file named: "InterfaceTest.xml":
code:
<Interfaces xmlns:xsi="http://www.w3.org/2001/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>
</Interfaces>


placed on the same directory as this Script
code:
function OnEvent_Initialize(MessengerStart)
{
    var Wnd = MsgPlus.CreateWnd("InterfaceTest.xml", "WndTest");
}



but when the script initializes nothing happens, what's wrong? :S
05-27-2007 01:51 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Help with MsgPlus.CreateWnd - by pedro_cesar on 05-27-2007 at 01:51 AM
RE: Help with MsgPlus.CreateWnd - by Ezra on 05-27-2007 at 01:53 AM
RE: Help with MsgPlus.CreateWnd - by felipEx on 05-27-2007 at 01:56 AM
RE: Help with MsgPlus.CreateWnd - by pedro_cesar on 05-27-2007 at 02:03 AM
RE: Help with MsgPlus.CreateWnd - by Ezra on 05-27-2007 at 02:04 AM
RE: Help with MsgPlus.CreateWnd - by pedro_cesar on 05-27-2007 at 02:10 AM
RE: RE: Help with MsgPlus.CreateWnd - by felipEx on 05-27-2007 at 02:13 AM
RE: Help with MsgPlus.CreateWnd - by Ezra on 05-27-2007 at 02:12 AM
RE: Help with MsgPlus.CreateWnd - by pedro_cesar on 05-27-2007 at 02:29 AM
RE: Help with MsgPlus.CreateWnd - by pedro_cesar on 05-28-2007 at 05:29 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