OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Often when you construct a control in a window, you want to keep a pointer to the control in a window object data member.
This is for convenience in accessing the control's member functions. Here's a fragment of a parent window object with the declaration for a pointer to a button control object:
Controls that you rarely manipulate, like static text and group boxes, do not need these pointer data members. The following example constructs a group box without a data member and a button with a data member (OkButton):