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 » inserting toolbars into a CExtTabbedToolControlBar Collapse All
Subject Author Date
Michael Clapp Mar 20, 2007 - 10:14 AM

It seems the only way to create a toolbar in a CExtTabbedToolControlBar is with the BarInsert command which returns a newly created CExtToolControlBar. If we have a specialized toolbar that we want to insert (e.g. CMyExtToolControlBar) how can this be done?

thanks..

Technical Support Mar 20, 2007 - 12:37 PM

There is a CExtTabbedToolControlBar::OnBarCreateObject() method, which you can override in order to create a custom toolbar inside a tabbed toolbar control. Please note that your class should be based on the CExtTabbedToolControlBar::LocalNoReflectedToolBar class so that you can insert it into the tabbed toolbar container.