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

MenuButtonControl events
Author: Message:
fatm
New Member
*


Posts: 3
Joined: Jun 2006
O.P. Huh?  MenuButtonControl events
I can't seem to pick up the event when a MenuEntry is clicked inside a MenuButtonControl. OnWndEvent_CtrlClicked is called when the button itself is clicked i.e. the menu is opened, but the same isn't called when an item in the menu is clicked.

Suggestions?
06-25-2006 03:47 PM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: MenuButtonControl events
code:
function OnEvent_MenuClicked(sMenuId, nLocation, ChatWnd){

}
06-25-2006 04:00 PM
Profile E-Mail PM Find Quote Report
fatm
New Member
*


Posts: 3
Joined: Jun 2006
O.P. RE: MenuButtonControl events
That handles the scripts main menu on the Plus! menu. I'm talking about a menu button, hint: look at the options button in event viewer.
06-25-2006 04:03 PM
Profile PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: MenuButtonControl events
I don't think you can use those. It states in the documentation that the XML engine was created for Plus!, and many controls/events aren't completely ready to be used in scripts. I've tried to use a MenuButtonControl, and I believe that this (along many, many others) is one of the controls that cannot be used in a script.

I personally think Patchou should have just included all of the events for everything :^)
06-25-2006 04:19 PM
Profile PM Find Quote Report
fatm
New Member
*


Posts: 3
Joined: Jun 2006
O.P. RE: MenuButtonControl events
Hmm ok, at least I don't have to keep pulling my hair out trying to figure this out. :P

Plus! 5.0 maybe? ;)
06-25-2006 04:21 PM
Profile PM Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: RE: MenuButtonControl events
quote:
Originally posted by fatm
Hmm ok, at least I don't have to keep pulling my hair out trying to figure this out. :P

Plus! 5.0 maybe? ;)


I'm sure if you ask Patchou he'll add support in future versions.
The previous sentence is false. The following sentence is true.
06-25-2006 04:30 PM
Profile PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: MenuButtonControl events
Yeah, that was also mentioned in the documentation; events and support for more controls is added on request. =/
06-25-2006 04:38 PM
Profile 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