What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Generic Subclassing Helper DLL

Generic Subclassing Helper DLL
Author: Message:
forum super mod

plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
O.P. Generic Subclassing Helper DLL
Hello scripters!

I have just finished my generic subclassing helper DLL. This DLL enables arbitrary JScript WndProc-like functions to be called back asynchronously, essentially enabling JScript to subclass any non-Plus! windows.

The usage is pretty simple - just declare your WndProc function (with hwnd, msg, wparam, lparam parameters), and construct the subclassing by calling the DLL functions (sample js code is attached). Functions as object methods are also supported (as long as "this" is supplied).

So, next time if you want to subclass a non-Plus! window and don't want to write your own DLL (since we have no asynchronous callback in Plus! scripting), feel free to use my DLL (specify the usage in your script's page/about screen, though).

If you feel anything unclear, just reply and I'll detail.

New version on 2011-Feb-23: More compatibility with WLM2011.

.zip File Attachment: SubclassingHelper.zip (27.87 KB)
This file has been downloaded 646 time(s).

This post was edited on 02-23-2011 at 09:55 AM by Mnjul.
07-24-2010 02:59 PM
Profile PM Web Find Quote Report
Scripting Guru

Posts: 8337
Reputation: 109
35 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Generic Subclassing Helper DLL
Way to go Mnjul! This has been long awaited!
07-24-2010 06:51 PM
Profile E-Mail 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