What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Developers heart felt wish!

Developers heart felt wish!
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Developers heart felt wish!
Aren't most (if not all) callback functions in the form of:
MessageCode, wParam, lParam ??

Making it actually more like:
code:
// instruct Plus! to make a (callback) function internally and let it return its address
var objCallbacks = {}
    objCallbacks['EnumWindows'] = MsgPlus.CreateCallback();

Interop.Call('user32', 'EnumWindows', objCallbacks['EnumWindows'], 0);

function OnFunctionCallback(hCallback, Message(or handle to wnd), wParam, lParam) {
    switch (hCallback) {

Making it almost the same as OnWindowidEvent_MessageNotification???

Using this 'convention'/method you would have covered almost all callbacks... (By heart I only know of only 1 callback function which uses 1 more parameter; WindowProc)

Interpreting what the parameters are (just a number or a pointer to something else) is the responsebility of the scripter, imho, just like with OnWindowidEvent_MessageNotification (?)

/me sits beside Matty on his knees begging :D

This post was edited on 02-06-2008 at 08:47 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
02-06-2008 08:24 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Developers heart felt wish! - by matty on 02-05-2008 at 08:52 PM
RE: Developers heart felt wish! - by vikke on 02-05-2008 at 09:10 PM
RE: Developers heart felt wish! - by Patchou on 02-05-2008 at 10:10 PM
RE: Developers heart felt wish! - by matty on 02-05-2008 at 11:37 PM
RE: Developers heart felt wish! - by Patchou on 02-06-2008 at 07:51 PM
RE: Developers heart felt wish! - by CookieRevised on 02-06-2008 at 08:24 PM
RE: Developers heart felt wish! - by matty on 02-06-2008 at 08:33 PM
RE: Developers heart felt wish! - by Eljay on 02-06-2008 at 08:35 PM
RE: Developers heart felt wish! - by Patchou on 02-06-2008 at 08:50 PM
RE: Developers heart felt wish! - by Eljay on 02-06-2008 at 08:55 PM
RE: Developers heart felt wish! - by matty on 02-06-2008 at 08:56 PM
RE: Developers heart felt wish! - by Patchou on 02-06-2008 at 09:04 PM
RE: Developers heart felt wish! - by aNILEator on 02-06-2008 at 11:54 PM
RE: Developers heart felt wish! - by vikke on 02-08-2008 at 02:46 PM
RE: Developers heart felt wish! - by Matti on 02-08-2008 at 05:16 PM
RE: Developers heart felt wish! - by vikke on 02-08-2008 at 05:58 PM
RE: Developers heart felt wish! - by Patchou on 02-08-2008 at 05:59 PM
RE: Developers heart felt wish! - by vikke on 02-08-2008 at 06:18 PM
RE: Developers heart felt wish! - by Patchou on 02-08-2008 at 07:37 PM
RE: Developers heart felt wish! - by felipEx on 03-19-2008 at 07:24 PM
RE: Developers heart felt wish! - by matty on 03-19-2008 at 08:54 PM
RE: Developers heart felt wish! - by Patchou on 03-19-2008 at 11:47 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