Chapter 4. Subclassing
This chapter takes you deeper into the subject of subclassing,
starting off with a discussion of the AddressOf
operator. A fair amount of discussion is given to this operator
because it plays a pivotal role in using Visual Basic (VB) to
subclass windows. Presented next will be the two types of
subclassing -- instance and global subclassing. Their
similarities, differences, and applications are discussed at length.
Code examples will be presented for both types of subclassing. These
examples are meant to be for illustration only; such things as error
handling code will be omitted for clarity.
As we progress through this chapter I will be placing the key points and rules of subclassing in bold type. These points and rules will be summarized at the conclusion of the chapter.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access