![]() |
Changing Edit and Combo-box text color using skin |
Post Reply ![]() |
Author | |
niksom78 ![]() Newbie ![]() Joined: 16 April 2007 Location: India Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 04 May 2007 at 10:38am |
Hi Support,
I have purchased Toolkit pro version (order #60398). I have created a custom skin based on vista skin. The skin works perfects ok, but i have a problem in changing the text color or fill color from edit ctrol or combo box control as shown in the attached zip file. uploads/20070504_103221_How_to_Skin.zip I have tried to change the [edit] and [combobox] sections of ini file, but nothing works. Can you tell me how can i change the text color or background color in these two controls? -Nikhil |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, hm you right :( for edit and list used standard font - not themed.
Please patch XTPSkinObjectFrame.cpp:
for 2 "if (nMessage == WM_CTLCOLORLISTBOX || nMessage == WM_CTLCOLOREDIT)" blocks add
::SetTextColor((HDC)wParam, GetColor(COLOR_WINDOWTEXT));
and recompile library, Now add in ini file:
WindowText = 255 255 255
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
niksom78 ![]() Newbie ![]() Joined: 16 April 2007 Location: India Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Hi,
after doing the changes suggested by you i could see the proper text color in edit and combo box drop down. But problem still exist for standard print dialog. I have uploaded the png files for the print dialog. uploads/20070507_023358_Printer_Dialog_.zip -Nikhil |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Please write to support@codejock.com I will send you all changes - I can't reproduce it, may be it was another change that fixed it.
|
|
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 |