点击一个图标后实现了窗口的切分,可是切分后的窗口没有被初始化,我也重载了OnInitialUpdate()函数,可是根本就没有被执行!请大侠指教!
代码见:http://www.vchelp.net/cndevforum/subject_view.asp?subject_id=33080&forum_id=34
代码见:http://www.vchelp.net/cndevforum/subject_view.asp?subject_id=33080&forum_id=34
调试欢乐多
Override the parent frame's CFrameWnd::OnCreateClient member function.
From within the overridden OnCreateClient, call the Create or CreateStatic member function of CSplitterWnd.
CWnd* pWnd = wndSplitter1.GetPane(1, 0);
CRightBottomView* pView = DYNAMIC_DOWNCAST(CRightBottomView, pWnd);
pView->OnInitialUpdate();再次感谢不说兄!!!
回答我的问题的三位兄弟也给分!