What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [REQUEST] How to create a window

[REQUEST] How to create a window
Author: Message:
PaulE
Junior Member
**


Posts: 28
Joined: Jul 2006
O.P. RE: RE: [REQUEST] How to create a window
Look i got this at now:
code:
var WndExample;
var WndChildExample;

    function OnGetScriptMenu(nLocation){
        var sMenu = "<ScriptMenu>";
        sMenu += "    <MenuEntry Id=\"mnuExample\">Example</MenuEntry>";
        sMenu += "</ScriptMenu>";
        return sMenu;
    }
   
    function OnEvent_MenuClicked(sMenuId, nLocation, ChatWnd){
        if(sMenuId == "mnuExample"){

                                  /*
                                    Open up header
                                  */

                                  WindowOpend [ 0 ] = MsgPlus.CreateWnd( 'gui.xmll', 'Header' );

                                  /*
                                    Open inside parent, child SideBar
                                  */

                                  WindowOpend [ 1 ] = MsgPlus.CreateChildWnd( WindowOpend [ 0 ], 'gui.xml', 'SideBar', 9, 94, true );

                                  /*
                                    Open inside parent, child Main
                                  */

                                  WindowOpend [ 2 ] = MsgPlus.CreateChildWnd( WindowOpend [ 0 ], 'gui.xml', 'Main', 180, 113, true );
                                 
                                  /*
                                    Open inside parent, child Main
                                  */
                                 
                                  WindowOpend [ 3 ] = MsgPlus.CreateChildWnd( WindowOpend [ 0 ], 'gui.xml', 'Footer', 0, 0, true );
        }
    }

It is a part of a Robot script..

This xml file is with it:
http://www.webso.nl/msn/gui.xml (Just look in the source:$)

When i want to open the Example file, nothing happens :$

This post was edited on 07-24-2006 at 04:55 PM by PaulE.
07-24-2006 04:37 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[REQUEST] How to create a window - by PaulE on 07-24-2006 at 03:38 PM
RE: [REQUEST] How to create a window - by RaceProUK on 07-24-2006 at 04:01 PM
RE: RE: [REQUEST] How to create a window - by PaulE on 07-24-2006 at 04:02 PM
RE: [REQUEST] How to create a window - by RaceProUK on 07-24-2006 at 04:06 PM
RE: [REQUEST] How to create a window - by matty on 07-24-2006 at 04:17 PM
RE: RE: [REQUEST] How to create a window - by PaulE on 07-24-2006 at 04:37 PM
RE: [REQUEST] How to create a window - by matty on 07-24-2006 at 05:07 PM
RE: RE: [REQUEST] How to create a window - by PaulE on 07-24-2006 at 05:11 PM
RE: [REQUEST] How to create a window - by matty on 07-24-2006 at 05:16 PM
RE: RE: [REQUEST] How to create a window - by PaulE on 07-24-2006 at 05:20 PM
RE: [REQUEST] How to create a window - by RaceProUK on 07-24-2006 at 11:00 PM
RE: [REQUEST] How to create a window - by PaulE on 07-25-2006 at 03:42 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