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 » How to apply OneNote style to CExtControlBar? Collapse All
Subject Author Date
Ferdie Barbero Mar 8, 2006 - 11:10 PM

I wish there’s a class CExtControlBarOneNote or CExtControlBarWhidbey. Does that make sense?

I was thinking of just calling GetOneNoteTabPageContainer() from CExtTabbedToolControlBarOneNote then use PageInsert to insert my controlbar’s HWND. But I would be losing:
- draggable/detachable control bar
- I would have to supply icons, and tab name ’manually’ instead of the framework getting from the controlbar ID.

Suggestions? Perhaps somebody created such classes or have done some other tricks.

Cheers :-)

Technical Support Mar 10, 2006 - 3:22 AM

There is no problem with changing the icon and text for a control bar now. You can simply change the icon in the command manager. This icon is an icon of the command whose identifier is equal to the dialog control identifier of the control bar window. You can change the text by overriding the CExtControlBar::OnGetBarCaptionText() virtual method. Besides, this method allows you to set different text values for when the control bar is docked, when it is floating, and when it is in a tab group and auto hidden.