What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] Event not being called

[?] Event not being called
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. [?] Event not being called
I've got a feeling there is a buried version of me asking this somewhere before, but I'm not sure. I've got a PlusWnd that I want to detect a DblClick and then do something...

I put all the code in and went to test it, but it seems to never get called (I have trace events on as well). The WindowID is spelt exactly right, the event name and parameters are automatically filled by Plus.

code:
function OnWindowIDEvent_CtrlClicked(PlusWnd, ControlID){
    Debug.Trace("w00t");
}


Halp!
<Eljay> "Problems encountered: shit blew up" :zippy:
11-05-2008 12:50 AM
Profile PM Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: [?] Event not being called
Are you sure you specified your window id in that function name, as the same in the xml?
11-05-2008 09:59 AM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [?] Event not being called
And that the function isn't defined elsewhere in the script?
11-05-2008 12:30 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. RE: [?] Event not being called
quote:
Originally posted by Mnjul
Are you sure you specified your window id in that function name, as the same in the xml?

Yeah, I even copied and pasted it across in case.

quote:
Originally posted by matty
And that the function isn't defined elsewhere in the script?

I checked and it wasn't found anywhere else (checked all files); I even tried calling different events such as LstView_DblClicked and so on.

I'm using:
OS:    Vista
WLM: 9.0
MP!L: 4.79
<Eljay> "Problems encountered: shit blew up" :zippy:
11-05-2008 04:40 PM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [?] Event not being called
Do you want to post the PLSC and I will take a look?
11-05-2008 04:44 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. RE: [?] Event not being called
I don't have it with me, but I'll send it over WLM (as long as you promise not to laugh at my inferior code :p)
<Eljay> "Problems encountered: shit blew up" :zippy:
11-05-2008 05:32 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