AR Subclass ActiveX Library 1.01

Using this library it will be very easy for you to subclass any window and intercept any messages that you specify.




To have access to the event provided by this variable, you will have to dim the object using the WithEvents modifier. Here is a short example:

In the declarations section of the form:

Private WithEvents m_Subclass As ARSubclass

In the Load event of the form:

Set m_Subclass = New ARSubclass

m_Subclass.hWnd = Me.hWnd

Included in the ZIP there is a short example on subclassing using this library.


(12 Kb)


Alvaro Redondo, 1998. All Rights Reserved.