I'm trying to write a string from CMainFrm to the view window. The View window is inherits CRichEdit. I tried GetActiveView() instead of GetActiveWindow() and it still didn't work. Why won't this work?

Code:
	CtestDoc* pDoc=(CtestDoc*)GetActiveDocument();
	CtestView* pActiveView=(CtestView*)GetActiveWindow();
	pActiveView->SetWindowText((CString)"Please Help me");//why isn't this working?
	pDoc->UpdateAllViews(NULL,0,NULL);