Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - [solved] Office2013: disabled checkboxes in ribbon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[solved] Office2013: disabled checkboxes in ribbon

 Post Reply Post Reply
Author
Message
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Topic: [solved] Office2013: disabled checkboxes in ribbon
    Posted: 10 November 2016 at 10:01am
Hi Codejock-Team?

Why the checkbox itself is not visible when disabled?
Is this a setting in my theme (INI-file)?

Please see what i mean.


How can we fix this with XTP17.3?


Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 11 November 2016 at 3:57pm
Hello Alex,

Thank you for information, I found problem in file 
Source\CommandBars\ColorSets\XTPCommandBarsColorSetOffice2013.cpp
in method 
void CXTPColorSetStateCheckBox::RefreshColors()
{
    ....
    clrBorderDisabled .SetStandardValue(XTPIniColor(_T("CommandBars.CheckBox"), _T("BackDisabled"),    RGB(225, 225, 225)));
}

should be
void CXTPColorSetStateCheckBox::RefreshColors()
{
    ....
    clrBorderDisabled .SetStandardValue(XTPIniColor(_T("CommandBars.CheckBox"), _T("BorderDisabled"),    RGB(225, 225, 225)));
}

Regards,
 Oleksandr Lebed
Back to Top
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Posted: 14 November 2016 at 6:34am
Thank you for that fix :-)
Problem solved!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.