OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Destroying the interface element is the responsibility of the interface object's Destroy member function.
Destroy destroys the interface elements by calling the DestroyWindow API function. When the interface element is destroyed, the interface object's HWindow data member is set to zero. Therefore, you can tell if an interface object is still associated with a valid interface element by checking its HWindow. When a user closes a window on the screen, the following things happen: