OWLNext 7.0
Borland's Object Windows Library for the modern age
|
The following table shows some default values you might want to override for Attr members:
Attr member | Default value |
Style | WS_CHILD | WS_VISIBLE |
ExStyle | 0 |
X | 0 |
Y | 0 |
W | 0 |
H | 0 |
Menu | 0 |
Id | 0 |
Param | 0 |
AccelTable | 0 |
You can override those defaults in a derived window class's constructor by changing the values in the Attr structure. For example:
You can set the attributes of a child window in the child window's constructor or in the code that creates the child window. When you change the attributes in the parent window object's constructor, you need to use a pointer to the child window object to get access to its Attr member.