![]() |
Problem In SDI Splitter(FormView&TabView) |
Post Reply
|
| Author | |
zeronow
Newbie
Joined: 20 March 2005 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Topic: Problem In SDI Splitter(FormView&TabView)Posted: 20 March 2005 at 10:54pm |
|
In SDI, spiltter into two parts, top is a formview and bottom is a framewnd, the framewnd only has a tabview,
size1.cx = rect.right/2 ; m_wndSplit.CreateStatic(this, 2,1,WS_CHILD|WS_VISIBLE|WS_CLIPCHILDREN|WS_CLIPSIBLINGS, AFX_IDW_PANE_FIRST ); // Create the view using a CFrameWnd derived class. m_wndSplit.RecalcLayout(); //CMyFrameWndBar : public CXTFrameWnd pContext->m_pNewViewClass = RUNTIME_CLASS(CMyTabView); if (m_MyTabView == NULL) return CXTFrameWnd::OnCreateClient(lpcs, pContext); //class CMyTabView : public CXTTabView return 1; //0
//I want to dynacially create a htmlview in the tabview, but can not show. CCreateContext createContext; pNewViewClass3 = RUNTIME_CLASS(CMyWebView); createContext.m_pNewDocTemplate = NULL; |
|
![]() |
|
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 |