rcinformatica
asked on
How to Call UpdateAllViews(NULL) from within a Dialog Window
Hi there, I have a Dialog windows ina MDI that when I click OK should call the UpdateAllViews(NULL) , I ried to get a Pinter to Maindoc:
CMainDoc* m_pDocument = AfxGetMainWnd()->GetActive View()->Ge tDocument( );
m_pDocument->SetModifiedFl ag();
m_pDocument->UpdateAllView s(NULL);
but I keep getting an error message saying error C2039: "GetActiveView":is not a member of "CWnd"
Could you tell me where I make a mistake??
thanks
CMainDoc* m_pDocument = AfxGetMainWnd()->GetActive
m_pDocument->SetModifiedFl
m_pDocument->UpdateAllView
but I keep getting an error message saying error C2039: "GetActiveView":is not a member of "CWnd"
Could you tell me where I make a mistake??
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
take care