Esempio n. 1
0
void CResizablePageEx::OnDestroy() 
{
	// remove child windows
	RemoveAllAnchors();
	ResetAllRects();

	CPropertyPageEx::OnDestroy();
}
Esempio n. 2
0
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();
}