분할 윈도우 코드.. (아래 두개, 오른쪽 하나)
m_wndSplitter1.CreateStatic(this, 1, 2); m_wndSplitter1.CreateView(0, 1, RUNTIME_CLASS(CDrawView), CSize(300, 200), pContext); m_wndSplitter2.CreateStatic(&m_wndSplitter1, 2, 1, WS_CHILD | WS_VISIBLE, m_wndSplitter1.IdFromRowCol(0, 0)); m_wndSplitter2.CreateView(0, 0,RUNTIME_CLASS(CDivWindowView), CSize(300, 350), pContext); m_wndSplitter2.CreateView(1, 0,RUNTIME_CLASS(CText), CSize(300, 300), p..
2007. 1. 22.
분할 윈도우 (아래, 위) 2분할
m_wndSplitter.CreateStatic(this, 2, 1); m_wndSplitter.CreateView(0, 0, RUNTIME_CLASS(CPlayView), CSize(300, 200), pContext); m_wndSplitter.CreateView(1, 0,RUNTIME_CLASS(CMediaPlayerView), CSize(300, 300), pContext); SetActiveView((CView *)m_wndSplitter.GetPane(0,0)); return TRUE;
2007. 1. 22.