摘要:
向导生成CMyTreeView,基类为CTreeView,完了之后编译,会出现error C2504: 'CTreeView' : base class undefined错误,这时要在CMyTreeView的头文件中加上#include "afxcview.h",就不会说你的基类没有定义了。 阅读全文
摘要:
在CMainFrame中添加ActivateFrame函数,修改nCmdShowvoid CMainFrame::ActivateFrame(int nCmdShow) {// TODO: Add your specialized code here and/or call the base classnCmdShow = SW_HIDE;CFrameWnd::ActivateFrame(nCmd... 阅读全文