Vc CDocument updateAllViews怎么没反应
在一个文档类中显示内容比如显示一个字符串:fasdfasdfasd
CView *vp;
POSITION pos;
CDocument *doc=this->GetDocument();
pos=doc->GetFirstViewPosition();
vp=doc->GetNextView(pos);
vp->SetWindowText("fasdfasdfasd");
doc->UpdateAllViews(this);
怎么不显示呢?要怎么写?请指正