答案:在文档类里的OnNewDocument()函数中添加:SetTitle("你的名称");就可以了啊。
其他:Excerpt from msdn:
Gaining Access to Other Objects in Your Application
From object How to access other objects
Document Use GetFirstViewPosition and GetNextView to access the document's view list.
Call GetDocTemplate to get the document template.
View Call GetDocument to get the document.
Call GetParentFrame to get the frame window.
Document frame window Call GetActiveView to get the current view.
Call GetActiveDocument to get the document attached to the current view.
MDI frame window Call MDIGetActive to get the currently active CMDIChildWnd.
For more detailed information, please refer to msdn library; Keyword: CDocument. OnInitDialog()函数中SetWindowText(“你需要的名字”);
上一个:在VC++6.0上怎样调用AutoCAD
下一个:VC++6.0哪里可以下载