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

Hooking messages
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
29 / Male / Flag
Joined: Jul 2007
O.P. Hooking messages
Hi,

Can somebody explain how to hook messages into Plus windows?
The scripting documentation doesn't explain it in a way I understand :S..

Thanks in advance..
01-08-2008 06:09 PM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: Hooking messages
Here is a working example posted by Mattike

code:
var WM_DROPFILES = 0x233;

function OnEvent_Initialize() {
  // [...] Removed Code
   Wnd.RegisterMessageNotification(WM_DROPFILES, true);
}


Obviously, you will need to replace the value of WM_DROPFILES with the hex number relevant to the message you want to hook.

The scripting documents explain how to use the OnWindowidEvent_MessageNotification event

This post was edited on 01-08-2008 at 06:18 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
01-08-2008 06:17 PM
Profile PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
29 / Male / Flag
Joined: Jul 2007
O.P. RE: Hooking messages
Well, that's MUCH better than the documentation ;)

Tnx
01-08-2008 06:20 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