![]() |
m_dDisabledAlphaFactor / m_dDisabledBrightnessFact |
Post Reply ![]() |
Author | |
Ark42 ![]() Senior Member ![]() ![]() Joined: 20 October 2003 Status: Offline Points: 291 |
![]() ![]() ![]() ![]() ![]() Posted: 03 December 2007 at 1:52am |
I used to use:
CXTPImageManager::m_dDisabledAlphaFactor = 4.0; CXTPImageManager::m_dDisabledBrightnessFactor = 2.0; But in 11.2.1 now the Office 2000 theme has super black disabled icons. Using the new default I see now of 1.0 and 0.5 in XTPImageManager.cpp doesn't help. The disabled icons are still drawn correctly with Office XP/2003/2007 style themes for command bars, but not with native XP or Office 2000 themes. ![]() |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
I think you had bOfficeStyleDisabledIcons = TRUE;
XTPPaintManager()->GetIconsInfo()->bOfficeStyleDisabledIcons = TRUE
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Ark42 ![]() Senior Member ![]() ![]() Joined: 20 October 2003 Status: Offline Points: 291 |
![]() ![]() ![]() ![]() ![]() |
Did bOfficeStyleDisabledIcons always exist? I tried it now with TRUE and FALSE, neither one seems to matter for any theme Office 2000 or 2003, etc.
|
|
![]() |
|
Ark42 ![]() Senior Member ![]() ![]() Joined: 20 October 2003 Status: Offline Points: 291 |
![]() ![]() ![]() ![]() ![]() |
When I said Old Version above, I think I used to use 9.8.1 for my previous releases.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Call XTPPaintManager()->GetIconsInfo()->bOfficeStyleDisabledIcons = TRUE;
in last lines - after you set theme. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Ark42 ![]() Senior Member ![]() ![]() Joined: 20 October 2003 Status: Offline Points: 291 |
![]() ![]() ![]() ![]() ![]() |
That does not work.
GetCommandBars()->GetPaintManager()->GetIconsInfo()->bOfficeStyleDisabledIcons = TRUE; does though... |
|
![]() |
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 |