Here is the component.
This DLL was first featured in a VBPJ article by Matt Curland about subclassing with VB5. Its main purpose is to allow breaking into and stepping through code that subclasses windows, something not directly supported by VB.
To enable it you would change the compiler directive int cSubClass module toHowever, set it back to zero before compiling.VB Code:
#Const DEBUGWINDOWPROC = -1
For now though, you can even disable the subclassing until we fix the dll problem. Just comment out this code in the form module cmdHook_Click eventVB Code:
'subclass this form to receive callback messages If Not SubClass.Enable(Me.hwnd) Then MsgBox "Subclassing Failed" Exit Sub End If




Reply With Quote