惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Stack Overflow Blog
Stack Overflow Blog
PCI Perspectives
PCI Perspectives
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V2EX - 技术
V2EX - 技术
Google DeepMind News
Google DeepMind News
量子位
博客园_首页
S
SegmentFault 最新的问题
S
Secure Thoughts
F
Full Disclosure
H
Hacker News: Front Page
博客园 - 三生石上(FineUI控件)
U
Unit 42
H
Heimdal Security Blog
N
News and Events Feed by Topic
A
About on SuperTechFans
C
CERT Recently Published Vulnerability Notes
Cyberwarzone
Cyberwarzone
Help Net Security
Help Net Security
The Hacker News
The Hacker News
L
LINUX DO - 最新话题
Application and Cybersecurity Blog
Application and Cybersecurity Blog
罗磊的独立博客
N
News | PayPal Newsroom
Spread Privacy
Spread Privacy
C
Cisco Blogs
C
CXSECURITY Database RSS Feed - CXSecurity.com
云风的 BLOG
云风的 BLOG
A
Arctic Wolf
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Simon Willison's Weblog
Simon Willison's Weblog
B
Blog
人人都是产品经理
人人都是产品经理
TaoSecurity Blog
TaoSecurity Blog
博客园 - 【当耐特】
C
Cyber Attacks, Cyber Crime and Cyber Security
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
I
InfoQ
D
DataBreaches.Net
大猫的无限游戏
大猫的无限游戏
Apple Machine Learning Research
Apple Machine Learning Research
L
LINUX DO - 热门话题
Google Online Security Blog
Google Online Security Blog
V
Visual Studio Blog
V
Vulnerabilities – Threatpost
Know Your Adversary
Know Your Adversary
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
B
Blog RSS Feed

博客园 - xCvM

[导入]升级PJBlog2.5到PJBlog2.6 [导入]Google Maps应用大全 申请了codeday.com 打雷了...... 搬家倒计时...... Waiting for My Memory 终于回来了,爱姬 人算不如天算 For Record 挂了~显示器 最后想出的标题:我们还年轻 GuiToolkit 1.1.5编译的一点说明 NASM中文手册{Paste} night weak Lantern Festival - xCvM Promotion FROM Annual Dinner TO Now Pain in heart
视图\文档 - xCvM - 博客园
xCvM · 2006-03-26 · via 博客园 - xCvM

待了这么久,en还是没多大进步,只能听老板们在不停的叽里呱啦,听得几乎空白一篇,想拿笔记点什么,还是算了,faint
更晕的是这几天被视图\文档给弄迷糊了
什么
单文档\单视图 ;
单文档\多视图;
多文档\单视图;
多文档\多视图;
虽然网上有一些现成的,但拿来用都是会有Debug Assertion Failed!,没法子,RPWT,自己去摸索了
先贴现在写了还没出错的,得把其它的视图整理,以做它用了,浪费时间在这不值得&

  CMultiDocTemplate* pDocTemplate;
     pDocTemplate = new CMultiDocTemplate(IDR_ERPTYPE1,
  RUNTIME_CLASS(CERPDoc),
  RUNTIME_CLASS(CChildFrame), // 自定义 MDI 子框架
  RUNTIME_CLASS(CStaffView));
     AfxGetApp()->AddDocTemplate(pDocTemplate);
  ASSERT_VALID(pDocTemplate);
  this->m_pExamTemplate=pDocTemplate;
  pDocTemplate->OpenDocumentFile(NULL);
  //CChildFrame* pChild=(CChildFrame*)((CFrameWnd*)AfxGetApp()->m_pMainWnd)->GetActiveFrame();//
  CMDIChildWnd* pChild=MDIGetActive();//返回空指针
  ASSERT_VALID(pChild);
  CDocument* pDocument;
  pDocument=pChild->GetActiveDocument();
  if(pChild!=NULL||pDocument!=NULL)
   pDocument->SetTitle("title");