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 » Tab Windows V Tab Containers Collapse All
Subject Author Date
Phil Davis Jul 11, 2006 - 1:51 PM

Hi,

Just a general philosophy question regarding the difference between and the use of Tab Windows and Tab Containers.

I am building a dialog based app. It will have a status bar, a menu bar, be able to change themes and it would be nice if it also had ribbon bar.

The main window of the app will be a set of tabs each of which will open a various pages which mostly will contain dialogs and some potentially will also contain their own set of tabs.

At the top level, which should be used: Tab Windows or Tab Containers? It is clear that Tab Containers can do what I am after, but I guess the Tab Window could also cause the loading of a page as well.

Technical Support Jul 12, 2006 - 10:43 AM

The tab window is just a tab strip. It does not contain any pages inside. The tab page container contains any number of pages and uses the tab window for switching between pages. So you could use the tab window as some switcher but if you want to work with pages, the tab page container will be the ideal choice. Please run the ProfUIS_Controls sample. The Tab Window page demonstrates tab windows and the Tab Containers shows how to use tab page containers.

Phil Davis Jul 11, 2006 - 2:31 PM

Follow up question.

if i use the Tab Containers, can I set the style of the tabs to ’One Note", Whidbey" etc?

Technical Support Jul 12, 2006 - 10:45 AM

Just choose the appropriate class. You can make a choice between Visual Studio .NET 2002/2003/2005 tabs (CExtTabPageContainerWnd), flat Excel-like tabs (CExtTabPageContainerFlatWnd), colored One Note tabs (CExtTabPageContainerOneNoteWnd), flat buttons tabs (CExtTabPageContainerButtonsWnd) and Whidbey (CExtTabPageContainerWhidbeyWnd) tabs.