http://www.vb-helper.com/HowTo/subclass.zip

	Purpose
Subclass a control to read Windows messages.

	Method
Subclass to use a new WindowProc that displays message information in
the Debug window.

The book "Custom Controls Library" uses subclassing to create several
advanced ActiveX controls. For more information go to

		www.vb-helper.com/ccl.htm

	*** Warning ***
Subclassing is dangerous. The debugger does not work well when a new
WindowProc is installed. If you halt the program instead of unloading its
forms, it will crash and so will the Visual Basic IDE. Save your work often!
Don't say you weren't warned.

	Disclaimer
This example program is provided "as is" with no warranty of any kind. It is
intended for demonstration purposes only. In particular, it does not error
handling. You can use the example in any form, but please mention
www.vb-helper.com.
