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 » Removing CExtControlBar caption when docked Collapse All
Subject Author Date
Enrico Da Ros Oct 30, 2007 - 3:34 AM

Hello,

I would like to now if there is a way to remove the caption of CExtControlBar when docked, or at least place this caption vertically.

Thank you in advance
Best Regards
Enrico Da Ros

Technical Support Oct 31, 2007 - 5:35 AM

You can create a control bar without the CBRS_GRIPPER style or remove this style from the control bar that has already been created. As a result, the caption of the floating mini frame and the caption of the docked control bar will be gone. This is the same as overriding the CExtControlBar::IsBarWithGripper() virtual method and returning false from it.

You can also set the CExtControlBar::m_bGripperStaticallyAtTop property to false for the control bar’s window to make the caption right-oriented when it is docked in a horizontal row.