Professional UI Solutions
Site Map   /  Register


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 » Creating an SDI with tree on the left and a tab window in the main working area Collapse All
Subject Author Date
Offer Har Jan 8, 2010 - 6:05 AM

Dear Support,

I am trying to create the following application:

1) A tree and some other controls in a docked control bar on the left side

2) Menu bar and toolbar using Prof-UIS

3) Tab container in the rest of the window.

I have created the tree dialog OK, but I have problems filling the rest of the window with the tab container - I have dereived my class from CExtTabPageContainerWnd, and created it as a child of the main frame window:


m_pTab->Create(AfxGetMainWnd(), CRect(0,0,0,0), AFX_IDW_PANE_FIRST)


and filled it with tabs.

However, it does not look good - sometimes the tab container is not displayed, if I remove the the toolbar I sudenly see the tabs, etc etc.

What am I doing wrong...? Is there any sample that shows how to implement this?



Technical Support Jan 8, 2010 - 10:41 AM

The TabbedBars sample application uses the One Note tab page container as main SDI view window. It creates 3 colored dialog tab pages. We don’t see similar problems in this sample application. The tab page container can be used as main view window.
Please check whether some of other windows is created with the AFX_IDW_PANE_FIRST dialog control identifier. Only the tab page container should use it.

Offer Har Jan 10, 2010 - 10:21 PM