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 General Discussion » PageNavigatorWnd problem Collapse All
Subject Author Date
Vincent Lin Dec 17, 2007 - 1:35 AM

Hi,
I want to develop a project based on PageNaviagtor sample code.
In the client area right pane, I replace the CVIEW with CExtPageContainerWnd, when the Navigtor selection is changed the right pane will change to correspond dialog. My question is that , Is this possible to hide PageContainer’s page icon & text, just show curent PageNavigator topic string like your sample ?
or how to show different dialog in right pane, when PageNavigator selection is changed ?

Technical Support Dec 18, 2007 - 4:03 AM

We would recommend to use CExtTabPageContainerWnd rather than CExtPageContainerWnd. So just use the tab page container and the only one question that is left is how to hide the tab strip. The latest code snippet 2.82 available for download from our FTP site includes a new feature, which allows you to do this:

- Added ShowTabStrip() and IsTabStripVisible() methods to the CExtTabPageContainerWnd class with which you can show/hide the tab strip independently of how many tabs you have and determine whether the tab strip is visible.
Also added a CExtTabPageContainerWnd::OnTabWndSyncVisibility virtual method which is invoked to synchronize the tab strip visibility.

Note v.2.82 will be officially released in a few days.