Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » CExtTabPageContainerOneNoteWnd in a CExtSplitterWnd Collapse All
Subject Author Date
Paul-henry AGUSTONI Apr 24, 2007 - 6:22 AM

Can a CExtSplitterWnd manage a CExtTabPageContainer (CExtTabPageContainerOneNoteWnd) ?
I try to create a project based on PageNavigator sample and TabbedBars sample.

m_wndSplitter.CreateView(
        0, 1,
        RUNTIME_CLASS( CTabView ),
        CSize(0, 200),
        pContext        
        );

where CTabView is a CExtTabPageContainerOneNoteWnd class:

class CTabView : public CExtWRB < CExtTabPageContainerOneNoteWnd >
{
// Construction
public:
    DECLARE_DYNAMIC( CTabView );
    CTabView ();
    ...
}

Can you give me some pointers on how to accomplish this?

Technical Support Apr 24, 2007 - 11:57 AM

Dynamic splitters are primary designed to contain CView-derived classes. You can use a custom view window with One Note tab page container inside the dynamic splitter pane.

You can also use static splitters and create One Note tab page container as a child of the splitter window.