What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Can't Create a Window

Can't Create a Window
Author: Message:
a0369
Junior Member
**

Avatar

Posts: 16
35 / Male / Flag
Joined: Oct 2004
O.P. Can't Create a Window
I followed the manual and even Copy and Pasted the code and it still will not create a window. I don't know why, it just won't do it no matter what I do.

Script:

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

function OnEvent_Uninitialize(MessengerExit)
{

}


Here's the XML file and yes it's the correct filename

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>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>


I downloaded the manual for MsgPlus yesterday so it should be current. Also, other scripts can display windows, but none of mine will. It processes the script, but anything dealing with Windows will not work.
09-15-2007 02:20 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Can't Create a Window - by a0369 on 09-15-2007 at 02:20 PM
RE: Can't Create a Window - by Flash on 09-15-2007 at 02:40 PM
RE: Can't Create a Window - by a0369 on 09-15-2007 at 02:41 PM
RE: Can't Create a Window - by roflmao456 on 09-15-2007 at 02:42 PM
RE: Can't Create a Window - by NanaFreak on 09-15-2007 at 02:47 PM
RE: Can't Create a Window - by a0369 on 09-15-2007 at 02:49 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