摘要: 在CMainFrame创建多View 阅读全文
posted @ 2010-11-17 15:36 pjh123 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 以下这段儿代码CPnrListCtrl& listCtrl=((CPnrListView*)GetActiveView())->GetListCtrl();有可能会有问题。就是当GetActiveView()返回的不是CPnrListView的时候,得到的listCtrl是错误的指针(也可能指向未知位置)如下可以解决CPnrListView *pListView=DYNAMIC_DO... 阅读全文
posted @ 2010-11-17 09:37 pjh123 阅读(1020) 评论(0) 推荐(0) 编辑