devxlogo

December 18, 1999

Don’t include Extender properties in ActiveX Wizard

The left-most listbox in the first page in the ActiveX Control Interface Wizard includes all the properties exposed by the constituent controls currently on the UserControl’s surface. Unfortunately, this list

Declaring a typedef

typedef names can hide intricate syntactic constructs such as pointers to functions and template instances. However, many novices simply don’t know how to declare a typedef, or worse yet

Deep Copy and Shallow Copy

The terms “deep copy” and “shallow copy” refer to the way objects are copied, for example, during the invocation of a copy constructor or assignment operator. In a deep copy

Declaring Pointers to Data Members

Although the syntax of pointers to members may seem a bit confusing at first, it is consistent and resembles the form of ordinary pointers, with the addition of the class

The Representation Of Pointers To Members

Although pointers to members behave very much like ordinary pointers, behind the scenes, they are not necessarily represented as pointers. In fact, a single pointer to member usually consists of

Declaring Pointers to Member Functions

Pointers to member functions consists of the member function’s return type, the class name followed by ::, the pointer’s name, and the function’s parameter list. For example, a pointer to