![]() |
Black Backround in disabled combobox |
Post Reply
|
| Author | |
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Topic: Black Backround in disabled comboboxPosted: 03 May 2018 at 11:20am |
|
Hi;
I created a control that is parent of other controls. One of the children is a combo box with style CBS_DROPDOWNLIST. Whenever the control is disabled in a skinned application the background of the control is black: ![]() When I remove my .\styles folder and restart the application the app is no longer skinned, but the combobox is drawn as expected. How can I get the same result in the skinned app? In this case I use Toolkit 18.3 TIA |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 May 2018 at 6:16am |
|
Forget this post!
Solved it by myself... |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
olebed
Senior Member
Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 May 2018 at 8:22am |
|
Hello Martin,
And what was the solution ? Regards, Oleksandr Lebed |
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 May 2018 at 8:24am |
|
The parent control catched the OnCtlColor() and set the color of the disabled (static) part of the combobox control to black!
Silly!!! Martin |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
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 |