O.P. Generic Subclassing Helper DLL
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.
Attachment: SubclassingHelper.zip (27.87 KB)
This file has been downloaded 130 time(s).
This post was edited on 02-23-2011 at 09:55 AM by Mnjul.