![]() |
RibbonBar in dockpane problem |
Post Reply
|
| Author | |
Jimor Marlow
Groupie
Joined: 03 June 2007 Location: Russian Federation Status: Offline Points: 30 |
Post Options
Thanks(0)
Quote Reply
Topic: RibbonBar in dockpane problemPosted: 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?
|
|
![]() |
|
Jimor Marlow
Groupie
Joined: 03 June 2007 Location: Russian Federation Status: Offline Points: 30 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 February 2009 at 3:29pm |
|
Fixed.
GetRibbonBar()->ShowCaptionAlways( FALSE ); |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |