Chapter 7. Superclassing

This chapter is divided into two sections. The first section deals strictly with defining and comparing superclassing to subclassing. The second section takes a closer look at using only the Windows application programming interface (API) from within Visual Basic (VB) to create a window class and instantiate a window from that class. This material will not only discuss the use of several APIs required for superclassing within VB, but it will also give a better look into message loops and window creation. I will provide an example, written strictly in VB, to demonstrate superclassing from start to finish.

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.