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 Style: How to change it on-fly Collapse All
Subject Author Date
Alfonso Bastias Feb 2, 2006 - 2:34 PM

Hi, I’d like to know how change the tab style.


For example, change my MDI tab style from Whidbey to OneNote.... (dynamically) similar as you change Theme from VS 2003 to VS 2005....


I have a variable calles m_wndMdiTabs in the mainframe.h 


//CExtTabMdiWhidbeyWnd m_wndMdiTabs;
CExtTabMdiOneNoteWnd m_wndMdiTabs;


Just I want to let the user change styles.....


Thansk,


Alfonso


 

Technical Support Feb 3, 2006 - 11:16 AM

The basic tab control/container classes (CExtTabWnd, CExtTabMdiWnd, and CExtTabPageContainerWnd) are designed to provide the style of their tab items consistent with the currently installed paint manager. All other versions of tab control and container (Whidbey, Flat, One Note) are designed as standalone components without strong dependency on the paint manager. It is not possible to make CExtTabMdiWnd having the Whidbey/Flat/One Note style. You can only keep a CExtTabWnd * pointer to the currently created MDI tab window and recreate it if another style is needed.