CDocument相关

来源:互联网 发布:数据分析推荐书 编辑:程序博客网 时间:2024/05/01 01:56

 如何设置文件标题栏显示的名字
 CDocument::SetPathName(_T("axeserr.dat"));

 

如何在DOC里边得到VIEW指针
 POSITION pos_ = GetFirstViewPosition();  
 CAxesErrEditorView* pView_ = DYNAMIC_DOWNCAST(CAxesErrEditorView, GetNextView(pos_));