小第分割一个窗体遇到问题:当CMyView继承为CFormView程序能编译成功,但一运行就报错,当CMyView继承于CView,则无任何问题,具体如下
m_wnd.CreateStatic(this,1,2); //一行两列
m_wnd.CreateView(0,0,RUNTIME_CLASS(CTestView),CSize(100,100),pContext);
m_wnd.CreateView(0,1,RUNTIME_CLASS(CMyView),CSize(100,100),pContext);
m_wnd.CreateStatic(this,1,2); //一行两列
m_wnd.CreateView(0,0,RUNTIME_CLASS(CTestView),CSize(100,100),pContext);
m_wnd.CreateView(0,1,RUNTIME_CLASS(CMyView),CSize(100,100),pContext);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货