What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help!] Menu Troubles

[Help!] Menu Troubles
Author: Message:
fergofrog
Full Member
***

Avatar

Posts: 121
Reputation: 4
31 / Male / –
Joined: May 2006
O.P. [Help!] Menu Troubles
I am having some menu troubles with my script, here is my code (only for the menu):

code:
function OnGetScriptMenu (Location)
{
    var ScriptMenu = "<ScriptMenu>";
    ScriptMenu    +=     "<MenuEntry Id=\"MnuAbout\">About...</MenuEntry>";
    ScriptMenu    += "</ScriptMenu>";
   
    return ScriptMenu;
}

function OnEvent_MenuClicked ("MnuAbout", Location, OriginWnd)
{
    MsgPlus.CreateWnd('Window.xml', 'About');
}


When activating the script it says i have an error if i remove the:

code:
function OnEvent_MenuClicked ("MnuAbout", Location, OriginWnd)
{
    MsgPlus.CreateWnd('Window.xml', 'About');
}


It works again and if i just rename the "MnuAbout" to MenuItemId it works again. I just want the about button to work.

This post was edited on 07-17-2006 at 01:33 AM by fergofrog.
[Image: fergofrog.png][Image: repute.gif]
07-17-2006 01:33 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Help!] Menu Troubles - by fergofrog on 07-17-2006 at 01:33 AM
RE: [Help!] Menu Troubles - by Silentdragon on 07-17-2006 at 01:35 AM
RE: [Help!] Menu Troubles - by deAd on 07-17-2006 at 01:36 AM
RE: [Help!] Menu Troubles - by fergofrog on 07-17-2006 at 01:41 AM
RE: [Help!] Menu Troubles - by Silentdragon on 07-17-2006 at 01:53 AM
RE: [Help!] Menu Troubles - by fergofrog on 07-17-2006 at 02:10 AM
RE: [Help!] Menu Troubles - by Silentdragon on 07-17-2006 at 02:12 AM
RE: [Help!] Menu Troubles - by fergofrog on 07-17-2006 at 03:07 AM
RE: [Help!] Menu Troubles - by Silentdragon on 07-17-2006 at 03:09 AM
RE: [Help!] Menu Troubles - by fergofrog on 07-17-2006 at 03:11 AM
RE: [Help!] Menu Troubles - by cooldude_i06 on 07-17-2006 at 04:28 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