一个拆分窗口的问题
if(!m_wndSplitter.CreateStatic(this,1,2)||
!m_wndSplitter.CreateView(0,0,RUNTIME_CLASS(CDirView),CSize(400,100),pContext)||
!m_wndSplitter.CreateView(0,1,RUNTIME_CLASS(CPictureView),CSize(00,0),pContext))
我把主窗口拆成CDirView和CpictureView以后,这两个view的OnInitialUpdate() 为什么会被执行了两遍?
如果我要初始化这两个view,我该怎么办?
3x