How to show 3 different views in 3 subpanels in right panel by using splitterwnd?
- From: srikadi
- Date: Mon, 29 Sep 2008 20:42:51 -0700
if (!m_nwSplitter.CreateStatic (this, 1, 2)||
!m_nwSplitter.CreateView (0, 0, RUNTIME_CLASS (CNetworkTree),CSize (220,0), pContext))
{
return FALSE;
}
if (!m_nwSplitter2.CreateStatic(&m_nwSplitter, 3, 1,WS_CHILD | WS_VISIBLE| WS_BORDER,m_nwSplitter.IdFromRowCol(0, 1))||
!m_nwSplitter2.CreateView(0,0,RUNTIME_CLASS(CNetworkVwList),CSize(0,200), pContext)||
!m_nwSplitter2.CreateView(1,0,RUNTIME_CLASS(CSWPlanView),CSize(0,200), pContext)||
!m_nwSplitter2.CreateView(2,0,RUNTIME_CLASS(CTaskListView),CSize(0,0), pContext))
{
return FALSE;
}
before the code was like
CView * pane2 = (CView *)pNwViews->GetPane(0,1);
now i want to show one view in right panel ie in m_nwSplitter2.CreateView(0,0,...)..
i wrote like CView * pane2 = (CView *)pNwViews->GetPane(0,0);
but its not working...
plz help me...
thanx in advance..
.
- Prev by Date: Re: Basic MFC SDI question
- Next by Date: Re: Loading Language Resource DLLs
- Previous by thread: Docking in a CMDIChildWnd
- Next by thread: Inter Client Strange Message Sending
- Index(es):