[solved] Checked Controls in Quick Access Toolbar |
Post Reply |
Author | |
MGebler
Groupie Joined: 18 May 2006 Location: Germany Status: Offline Points: 64 |
Post Options
Thanks(0)
Posted: 12 August 2017 at 6:45am |
In the Office 2013/2016 theme checked control items are hard to identify because the background rect remains in the color of the toolbar.
But shouldn't it look like this: Therefore we would need another else-branch, which handles the checked-state of the control void CXTPRibbonOffice2013Theme::DrawQuickAccessControl(CDC *pDC, CXTPRibbonBar* pRibbon, CXTPControl* pControl) { ... else if (bPressed || bPopuped ) pDC->FillSolidRect(rcButton, m_clrQuickAccessButtonPressedBack); else if( bChecked ) pDC->FillSolidRect(rcButton, m_clrQuickAccessButtonHotBack); ... } With best regards Marcus
|
|
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 |