![]() |
Focus rectangle color of buttons |
Post Reply ![]() |
Author | |
linfan ![]() Newbie ![]() Joined: 05 February 2007 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() Posted: 18 March 2007 at 8:46pm |
I've created a new skin and set the button text to white, but the focus rectangle now looks like rectangle with a black solid frame, how to adjust the color of focus rectangle?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, thanks we will fix this frame. You can change sources for now.
In CXTPSkinObjectButton::DrawButtonText method add
pDC->SetTextColor(0);
pDC->SetBkColor(0xFFFFFF); before ::DrawFocusRect(pDC->GetSafeHdc(), &rc);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
linfan ![]() Newbie ![]() Joined: 05 February 2007 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
Thanks very much!
|
|
![]() |
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 |