Print Page | Close Window

RibbonBar in dockpane problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=13353
Printed Date: 20 July 2025 at 1:16am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: RibbonBar in dockpane problem
Posted By: Jimor Marlow
Subject: RibbonBar in dockpane problem
Date Posted: 06 February 2009 at 6:37pm
Hi,

I'd like to use RibbonBar instead of ToolBar in my dockpane.

Contents of dockpane is miniframe:
#define DEVICE_MGR_BASE_CLASS CXTPFrameWndBase<CMiniFrameWnd>
class CDeviceMgrPaneWnd2 : public DEVICE_MGR_BASE_CLASS
{...}

BOOL CDeviceMgrPaneWnd2::CreateWnd( CWnd* pParent, const CRect& rect)
{
...
QuickAccess panel hidden:
GetRibbonBar()->SetTabsVisible(FALSE);
GetRibbonBar()->ShowQuickAccess( FALSE );
GetRibbonBar()->SetMinimumVisibleWidth(0);
...
}

Everything works fine, but I still can see horz line about 22 pix of height above the ribbon bar. How to remove it?




Replies:
Posted By: Jimor Marlow
Date Posted: 07 February 2009 at 3:29pm
Fixed.

GetRibbonBar()->ShowCaptionAlways( FALSE );



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net