![]() |
A problem : Adding CSplitterWnd to CView |
Post Reply
|
| Author | |
qinzhw
Newbie
Joined: 25 November 2005 Location: Colombia Status: Offline Points: 16 |
Post Options
Thanks(0)
Quote Reply
Topic: A problem : Adding CSplitterWnd to CViewPosted: 28 November 2005 at 7:05am |
|
I have defined a class based on CView like this : class CSMSView : public CStaticFrameWnd<CView> and for some reason , I want to split it into 2 part with : int CSMSView::OnCreate(LPCREATESTRUCT lpcs) if (CView::OnCreate(lpcs) == -1) //*/ CSMSView::OnInitialUpdate(){ if(m_bInited) return ; if (!m_wndSplitter.CreateStatic(this, 1, 2, WS_CHILD | WS_VISIBLE , AFX_IDW_PANE_FIRST + 10)) {
} Definitions of CStaticFrameWnd and CSplitterWndEx are found in the GUI_Outlook sample . |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 November 2005 at 1:42pm |
|
CSplitterWnd can be child of CFrameWnd classes only. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |