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

Menu problem
Author: Message:
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
RE: Menu problem
JScript code:
function OnEvent_MenuClicked(MenuItemId, Location, OriginWind)
{
    if (MenuItemId == "mnuNew") {
        WndNew = MsgPlus.CreateWnd("New.xml", "mnuNew");          
    } else if (MenuItemId == "mnuAbout") {
        WndAbout = MsgPlus.CreateWnd("About.xml", "mnuAbout");
}

The "else if" block has no closing curled bracket.
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
01-21-2009 10:28 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Menu problem - by djdannyp on 01-21-2009 at 10:14 AM
RE: Menu problem - by mynetx on 01-21-2009 at 10:28 AM
RE: Menu problem - by Spunky on 01-21-2009 at 10:30 AM
RE: Menu problem - by djdannyp on 01-21-2009 at 11:08 AM
RE: Menu problem - by Spunky on 01-21-2009 at 11:16 AM
RE: Menu problem - by mynetx on 01-21-2009 at 11:18 AM
RE: Menu problem - by djdannyp on 01-21-2009 at 12:16 PM
RE: Menu problem - by Matti on 01-21-2009 at 12:25 PM
RE: Menu problem - by djdannyp on 01-21-2009 at 02:26 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