Ctrl+Tab selection not using right text color. |
Post Reply |
Author | |
Smucker
Senior Member Joined: 02 February 2008 Status: Offline Points: 156 |
Post Options
Thanks(0)
Posted: 08 July 2008 at 12:53pm |
The button highlight color in my skin is set to a very light yellow, but it's not being used in the Ctrl+Tab window (CXTPDockingPaneWindowSelect):
|
|
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)
Platform: Windows 200x/XP/Vista/Win7 (32/64 bit) Language: Visual C++ 9.0 (Studio 2008) |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
yes, OfficeXP buttons use COLOR_BTNTEXT always.
COLOR_BTNTEXT is black in your skin ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Smucker
Senior Member Joined: 02 February 2008 Status: Offline Points: 156 |
Post Options
Thanks(0)
|
Sorry, should have said button text color, not highlight. In my skin,
the button text color (BtnText) is 255; 255; 204. All other places it
displays fine, and GetSysColor(COLOR_BTNTEXT) returns the correct
value. I'm only seeing the problem in the Ctrl+Tab window.
I found the problem in XTPDockingPaneKeyboardHook.cpp: in CXTPDockingPaneWindowSelect::OnPaint(), where the code at line 491 in 12.0.0: dc.SetTextColor(COLOR_BTNTEXT); should be: dc.SetTextColor(GetSysColor(COLOR_BTNTEXT)); |
|
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)
Platform: Windows 200x/XP/Vista/Win7 (32/64 bit) Language: Visual C++ 9.0 (Studio 2008) |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Ups :)
You're right. Fixed.
Thanks for help.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |