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

MsgPlus.CreateWnd problem.
Author: Message:
Buzz44
Junior Member
**

Avatar
Messenger Plus! Newbie ^^

Posts: 18
– / Male / –
Joined: Aug 2006
O.P. MsgPlus.CreateWnd problem.
I'm trying to make a GUI but I can't get MsgPlus.CreateWnd to work. I copied the example and instructions in the help file exactly but still no go :(. Anyone have a reason why the window might not be appearing?

Thanks.
09-02-2006 04:45 AM
Profile E-Mail PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: MsgPlus.CreateWnd problem.
Try something like
code:
Wnd = MsgPlus.CreateWnd("FileName", "Window Name")
and make sure that the window is perfect and there is nothing wrong in it, if something goes wrong in the xml you surely wont see the window [Image: msn_happy.gif].
09-02-2006 04:50 AM
Profile E-Mail PM Web Find Quote Report
Buzz44
Junior Member
**

Avatar
Messenger Plus! Newbie ^^

Posts: 18
– / Male / –
Joined: Aug 2006
O.P. RE: MsgPlus.CreateWnd problem.
I'm using...

code:
Wnd = MsgPlus.CreateWnd("InterfaceTest.xml", "WndTest")
with...
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>

Nothing still @@.

This post was edited on 09-02-2006 at 04:56 AM by Buzz44.
09-02-2006 04:56 AM
Profile E-Mail PM Find Quote Report
Silentdragon
Full Member
***

Avatar
if(life==null && wrists) EmoAlert();

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
RE: MsgPlus.CreateWnd problem.
Also make sure the xml file is saved in Unicode(16).
09-02-2006 04:56 AM
Profile E-Mail PM Web Find Quote Report
Buzz44
Junior Member
**

Avatar
Messenger Plus! Newbie ^^

Posts: 18
– / Male / –
Joined: Aug 2006
O.P. RE: MsgPlus.CreateWnd problem.
Thanks Silentdragon! That did the trick. I was creating a text file, editting it, then changing the filename/extension ;).
09-02-2006 04:58 AM
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