Print Page | Close Window

How to Fully Remove the Quick Access Bar

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=22534
Printed Date: 24 November 2024 at 1:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to Fully Remove the Quick Access Bar
Posted By: cpede
Subject: How to Fully Remove the Quick Access Bar
Date Posted: 11 February 2015 at 8:39am
I thought that calling pRibbonBar->ShowQuickAccess(FALSE); would remove the Quick Access Bar, but it seems that the area where it should be is still there:



How can I get rid of this space. I do not want to enable Frame Theme.

-cpede


-------------
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Replies:
Posted By: olebed
Date Posted: 12 February 2015 at 8:36am
Hello,

That space is not used only for QuickAccess controls. For example run RibbonSample  and select picture in document. In that space you can see "Picture tools" under context ribbon tab  "Picture format".

You can use "Frame Theme" to show that  context ribbon tab in application's caption area. For example in the same sample button Options->"Frame Theme".

Regards,
 Oleksandr Lebed


Posted By: cpede
Date Posted: 17 February 2015 at 9:47am
Ok, I see.

The problem is that when I use EnableFrameTheme the Caption Bar and the Ribbon will get a gradient fill, and I don't want that.

Then I believe that I can set CXTPCommandBarsFrameHook::m_bAllowDwm = FALSE; but this seems not to have any effect? 

I'm deriving from CXTPMDIFrameWnd and I can see in the RibbinMDISample this is also omitted, whereas it is in the RibbonSample with a single view you can set Dwm.

Or is it the order I do things?

-cpede


-------------
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



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