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

[HELP] MenuButtonControl
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: [HELP] MenuButtonControl
XML code:

code:
            <Control xsi:type="MenuButtonControl" Id="MnuBSave">
                <Position Left="130" Top="295" Width="50" />
                <Caption>Save</Caption>
                <Menu>
                    <MenuEntry Id="MnuSaveAll">Save all notifications</MenuEntry>
                    <MenuEntry Id="MnuSaveSelected">Save selected notifications</MenuEntry>
                </Menu>
            </Control>


JS file:

code:
function OnWndNotifsEvent_CtrlClicked(PlusWnd,ControlId) {
    if(ControlId == "MnuSaveAll") {
        Debug.Trace("> Saving all notifications");
// lots of code
    }
    if(ControlId == "MnuSaveSelected") {
        Debug.Trace("> Saving selected notifications");
// lots of code
    }
}


This post was edited on 05-18-2008 at 01:45 PM by SmokingCookie.
05-18-2008 01:39 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[HELP] MenuButtonControl - by SmokingCookie on 05-18-2008 at 12:55 PM
RE: [HELP] MenuButtonControl - by matty on 05-18-2008 at 01:21 PM
RE: [HELP] MenuButtonControl - by SmokingCookie on 05-18-2008 at 01:39 PM
RE: [HELP] MenuButtonControl - by matty on 05-18-2008 at 01:45 PM
RE: [HELP] MenuButtonControl - by SmokingCookie on 05-18-2008 at 01:48 PM
RE: [HELP] MenuButtonControl - by matty on 05-18-2008 at 02:13 PM
RE: [HELP] MenuButtonControl - by SmokingCookie on 05-18-2008 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