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

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
Help Net Security
Help Net Security
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
C
Cisco Blogs
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
L
LINUX DO - 热门话题
Security Latest
Security Latest
A
Arctic Wolf
G
GRAHAM CLULEY
月光博客
月光博客
S
Securelist
D
Docker
J
Java Code Geeks
T
Troy Hunt's Blog
T
Tenable Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
SecWiki News
SecWiki News
S
Security @ Cisco Blogs
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LINUX DO - 最新话题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
aimingoo的专栏
aimingoo的专栏
博客园 - 【当耐特】
H
Heimdal Security Blog
The Hacker News
The Hacker News
博客园 - 三生石上(FineUI控件)
Application and Cybersecurity Blog
Application and Cybersecurity Blog
N
Netflix TechBlog - Medium
Vercel News
Vercel News
Forbes - Security
Forbes - Security
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
B
Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
S
Secure Thoughts
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Check Point Blog
云风的 BLOG
云风的 BLOG
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
L
Lohrmann on Cybersecurity
F
Full Disclosure
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Proofpoint News 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");