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()->GetActiveView()->GetDocument();
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??