Shoutbox

[?] Event not being called - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [?] Event not being called (/showthread.php?tid=87085)

[?] Event not being called by Spunky on 11-05-2008 at 12:50 AM

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!
RE: [?] Event not being called by Mnjul on 11-05-2008 at 09:59 AM

Are you sure you specified your window id in that function name, as the same in the xml?


RE: [?] Event not being called by matty on 11-05-2008 at 12:30 PM

And that the function isn't defined elsewhere in the script?


RE: [?] Event not being called by Spunky on 11-05-2008 at 04:40 PM

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

RE: [?] Event not being called by matty on 11-05-2008 at 04:44 PM

Do you want to post the PLSC and I will take a look?


RE: [?] Event not being called by Spunky on 11-05-2008 at 05:32 PM

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)