void CResizablePage::OnDestroy() { // remove child windows RemoveAllAnchors(); CPropertyPage::OnDestroy(); }
void CResizableFormView::OnDestroy() { // reset instance data RemoveAllAnchors(); ResetAllRects(); CFormView::OnDestroy(); }
void CResizableDialog::OnDestroy() { if (m_bEnableSaveRestore) SaveWindowRect(m_sSection, m_bRectOnly); // remove child windows RemoveAllAnchors(); CDialog::OnDestroy(); }
void CResizableMDIChild::OnDestroy() { if (m_bEnableSaveRestore) SaveWindowRect(m_sSection, m_bRectOnly); // reset instance data RemoveAllAnchors(); ResetAllRects(); m_bEnableSaveRestore = FALSE; CMDIChildWnd::OnDestroy(); }
void CResizableSheet::OnDestroy() { if (m_bEnableSaveRestore) { SaveWindowRect(m_sSection, m_bRectOnly); SavePage(); } RemoveAllAnchors(); CPropertySheet::OnDestroy(); }
void CSubtitleUpDlg::OnDestroy() { RemoveAllAnchors(); const CHeaderCtrl& pHC = *m_list.GetHeaderCtrl(); CString strColumnWidth; for (int i = 0; i < pHC.GetItemCount(); ++i) { int w = m_list.GetColumnWidth(i); strColumnWidth.AppendFormat(L"%d,", w); } AfxGetApp()->WriteProfileString(IDS_R_DLG_SUBTITLEUP, IDS_RS_DLG_SUBTITLEUP_COLWIDTH, strColumnWidth); __super::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(); }
void CResizableFormView::OnDestroy() { RemoveAllAnchors(); CFormView::OnDestroy(); }