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: 5395
Reputation: 58
32 / 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 398 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
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Generic Subclassing Helper DLL - by Mnjul on 07-24-2010 at 02:59 PM
RE: Generic Subclassing Helper DLL - by matty on 07-24-2010 at 06:51 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