Пример #1
0
void CResizablePageEx::OnDestroy() 
{
	// remove child windows
	RemoveAllAnchors();
	ResetAllRects();

	CPropertyPageEx::OnDestroy();
}
Пример #2
0
void CResizableFormView::OnDestroy() 
{
	// reset instance data
	RemoveAllAnchors();
	ResetAllRects();

	CFormView::OnDestroy();
}
Пример #3
0
void CResizableMDIChild::OnDestroy() 
{
	if (m_bEnableSaveRestore)
		SaveWindowRect(m_sSection, m_bRectOnly);

	// reset instance data
	RemoveAllAnchors();
	ResetAllRects();
	m_bEnableSaveRestore = FALSE;

	CMDIChildWnd::OnDestroy();
}
Пример #4
0
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();
}