No button checked background on Light Gray theme |
Post Reply |
Author | |
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
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?
|
|
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 |