예제 #1
0
void CEditMultiLine::OnDestroy()
{
	CDialog::OnDestroy();

  CWindowPlacement wp;
  wp.Save ("Edit MultiLine Dialog", this);

}
예제 #2
0
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();
}
예제 #3
0
void CActivityView::OnDestroy() 
{

	App.SaveColumnConfiguration ("Activity List", eColumnCount, GetListCtrl (),
                               m_last_col, m_reverse);

  CWindowPlacement wp;
  wp.Save ("Activity List", GetParent ());

	CListView::OnDestroy();
	
}