What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Quest]My Window cannot display. why?

[Quest]My Window cannot display. why?
Author: Message:
iMeNG
New Member
*

Avatar

Posts: 4
Joined: Nov 2006
O.P. [Quest]My Window cannot display. why?
Hello guys!
i'm a new one. when i tried something about window of messenger plus said in the Scripting Documentation, i have done what it said that creat a new script named Window Test, and replace the Initialize event by this: function OnEvent_Initialize(MessengerStart)
{
    var Wnd = MsgPlus.CreateWnd("InterfaceTest.xml", "WndTest");
}

and also creat a xml file with this:

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

and of course i saved it in my script's folder named Window Test, BUT it doesn't work. However everything seems all right in my debug window, and it said the script loaded ready. So why? how can it do like this? puzzling....
11-10-2006 04:47 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Quest]My Window cannot display. why? - by iMeNG on 11-10-2006 at 04:47 AM
RE: [Quest]My Window cannot display. why? - by bigbob85 on 11-10-2006 at 05:32 AM
RE: [Quest]My Window cannot display. why? - by iMeNG on 11-10-2006 at 06:39 AM
RE: [Quest]My Window cannot display. why? - by NanaFreak on 11-10-2006 at 07:25 AM
RE: [Quest]My Window cannot display. why? - by iMeNG on 11-10-2006 at 07:49 AM


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