Print Page | Close Window

No button checked background on Light Gray theme

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=24183
Printed Date: 21 November 2024 at 3:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: No button checked background on Light Gray theme
Posted By: rdhd
Subject: No button checked background on Light Gray theme
Date Posted: 27 July 2021 at 5:09pm
With the QAT at the top of the ribbon when using Office 2013 Light Gray, checked buttons have no background highlighted. The problem appears to be with the m_clrQuickAccessButtonPressedBack member of the CXTPCommandBarsOffice2013Theme. The DrawRectangle method is using this color as 0xf1f1f1. That also happens to be the color of the caption area the QAT sits on.

If the QAT is below the ribbon and the button being drawn is on the QAT, the above mentioned method returns FALSE and the image is drawn in a version/overload of CXTPCommandBarsOffice2013Theme::DrawRectangle. That method calls:

 CXTPColorSetStateButton* pColorSet = GetButtonColorSet(barType);

The call to draw the background is then made using pColorSet->clrBackChecked which is 0xf2d5c2.

Is this fixed in a version later than 19.3?



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