2011年9月16日

Doc的窗口就创建一个,如果已经存在就激活那个窗口,不存在就建立Doc(转自CSDN)

摘要: CDocument* CMyApp::CreateOrShow(CMultiDocTemplate* pDocTemplate){POSITION posDoc=pDocTemplate-> GetFirstDocPosition();CDocument* pDocument =NULL;if(posDoc!=NULL){pDocument =pDocTemplate-> GetNextDoc(posDoc);//To get the first view in the list of views:POSITION posView = pDocument -... 阅读全文

posted @ 2011-09-16 11:11 zhanglei in tokyo 阅读(225) 评论(0) 推荐(0) 编辑

导航