void CCodJobListView::OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint) { if (0 == lHint || UAVH_JOBS == lHint) { CPropertyPage *ActivePage = m_PropertySheet.GetActivePage(); ASSERT_VALID(ActivePage); ActivePage->OnInitDialog(); } }
void CCodComplexAtributeView::UpdateSelection() { ASSERT_VALID(m_SplitterFrame); CQmonntDoc *pDoc = dynamic_cast<CQmonntDoc *>(GetDocument()); ASSERT_VALID(pDoc); CNodeInfoSet *pSelection = m_SplitterFrame->GetTreeSelection(); ASSERT(NULL != pSelection); pDoc->GetComplexAtributeSet(&m_LocalComplexAtributeSet, pSelection); DPRINTF(("***************** ComplexAtributeSet **********************")); m_LocalComplexAtributeSet.DebugOut(); m_ComplexAtributePage.SetLocalComplexAtributeSet(&m_LocalComplexAtributeSet); CPropertyPage *ActivePage = m_PropertySheet.GetActivePage(); ASSERT_VALID(ActivePage); ActivePage->OnInitDialog(); SetModified(m_LocalComplexAtributeSet.IsModified()); SetLocal(m_LocalComplexAtributeSet.IsLocal()); SetAged(false); }