CChildFrame::Create()出错是因为什么?

jyl28 2004-09-16 03:27:08
BOOL CChildFrame::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CMDIFrameWnd* pParentWnd, CCreateContext* pContext)
{
// TODO: Add your specialized code here and/or call the base class
m_pMainFrame=theApp.m_pCurMainFrame;
return CMDIChildWnd::Create(lpszClassName, lpszWindowName, dwStyle, rect, (CMDIFrameWnd *)theApp.m_pCurMainFrame, pContext);

}
执行到return语句时出现ASSERT错误,是因为什么?
...全文
46 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
jyl28 2004-09-16
  • 打赏
  • 举报
回复
up

15,980

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧