void CResizablePageEx::OnDestroy() { // remove child windows RemoveAllAnchors(); ResetAllRects(); CPropertyPageEx::OnDestroy(); }
void CResizableFormView::OnDestroy() { // reset instance data RemoveAllAnchors(); ResetAllRects(); CFormView::OnDestroy(); }
void CResizableMDIChild::OnDestroy() { if (m_bEnableSaveRestore) SaveWindowRect(m_sSection, m_bRectOnly); // reset instance data RemoveAllAnchors(); ResetAllRects(); m_bEnableSaveRestore = FALSE; CMDIChildWnd::OnDestroy(); }
void CResizableSheetEx::OnDestroy() { if (m_bEnableSaveRestore) { SaveWindowRect(m_sSection, m_bRectOnly); if (m_bSavePage) SavePage(m_sSection); } // reset instance data RemoveAllAnchors(); ResetAllRects(); PrivateConstruct(); CPropertySheetEx::OnDestroy(); }