BOOL C3DGORangeWire::OnApply() 
{
	UpdateData();
	CDialog* pDlg = STATIC_DOWNCAST(CDialog, AfxGetMainWnd());
	pDlg->SendMessage(WM_3DOPTIONS_CHANGE, 0, 0);
	
	return CPropertyPage::OnApply();
}
BOOL C2DOptionsMode::OnApply() 
{
	if(m_fDirty)
	{
		CDialog* pDlg = STATIC_DOWNCAST(CDialog, AfxGetMainWnd());
		pDlg->SendMessage(WM_USER_CHANGE_OBJECT_PROPERTIES, 0, 0);
		m_fDirty = false;
	}
	
	return CPropertyPage::OnApply();
}
void C2DMinMaxDlg::OnCenterGraph() 
{
	CDialog* pDlg = STATIC_DOWNCAST(CDialog, AfxGetMainWnd());
	pDlg->SendMessage(WM_2DGRAPH_CENTER, (WPARAM)&m_x, (LPARAM)&m_y);
}