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:
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
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Hooking messages - by SmokingCookie on 01-08-2008 at 06:09 PM
RE: Hooking messages - by Spunky on 01-08-2008 at 06:17 PM
RE: Hooking messages - by SmokingCookie on 01-08-2008 at 06:20 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