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 » Caption of CExtControlBar Collapse All
Subject Author Date
Peter Kester Sep 8, 2006 - 12:12 PM

I want to change the caption of the CExtControlBar to look more like the official MS Office 2003 style (like in the MS Word Task Pane for example)
With a gripper and ’top to bottom’ gradient effect.
How can I change the look of the captionbar?

Technical Support Sep 11, 2006 - 7:29 AM

The caption area in the Task Pane window in Office 2003 is not a caption. It is a toolbar window with buttons inside a resizable panel bar without any caption. You can emulate this with two Prof-UIS windows: the CExtControlBar window created without the CBRS_GRIPPER style and the CExtToolControlBar-derived window inside it. The toolbar window should handle non client area clicks and invoke the CExtControlBar::_DraggingStart() method of the resizable bar. The details of implementation depends on specifics of your project.