OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Like most other objects, TView provides functions that let you safely close and destroy the object.
TView::~TView() does fairly little. It calls its associated document's DetachView function, thus removing itself from the document's list of views. TView also provides a CanClose function, which calls its associated document's CanClose function. Therefore the view's ability to close depends on the document's ability to close.