void CEditMultiLine::OnDestroy() { CDialog::OnDestroy(); CWindowPlacement wp; wp.Save ("Edit MultiLine Dialog", this); }
void CMainFrame::OnClose() { // save toolbar's window placement, see Prosise p728 for why we do it here instead SaveBarState(_T("ToolBarSettings")); // save window placement - main window CWindowPlacement MainWindowPlacement; MainWindowPlacement.Save(_T("Main Window"), this); Inherited::OnClose(); }
void CActivityView::OnDestroy() { App.SaveColumnConfiguration ("Activity List", eColumnCount, GetListCtrl (), m_last_col, m_reverse); CWindowPlacement wp; wp.Save ("Activity List", GetParent ()); CListView::OnDestroy(); }