Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - [SOLVED]Problem with CXTPComboBox background
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED]Problem with CXTPComboBox background

 Post Reply Post Reply
Author
Message
Marco1 View Drop Down
Senior Member
Senior Member


Joined: 16 January 2004
Location: Germany
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco1 Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED]Problem with CXTPComboBox background
    Posted: 23 August 2018 at 8:59am
This worked fine in 15.3.1 (dropdown was white), in 18.5.0 it doesn't.
Setting the background of a CXTPComboBox with SetBackColor(red) gives the following result:



The dropdown box is filled with same same color like the edit control.
IMHO SetBackColor() should only set the background of the edit control and NOT of the dropdown, which is uncommon. The dropdown must remain in system standard background, which is white here.
Can you please provide a fix?

Back to Top
agontarenko View Drop Down
Admin Group
Admin Group


Joined: 25 March 2016
Status: Offline
Points: 299
Post Options Post Options   Thanks (0) Thanks(0)   Quote agontarenko Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2019 at 2:39am
Hello,

This is not bug. Dropdown box is filled with same same color like the edit control because this by design in order to accommodate for dark themes.

Regards,
Artem Gontarenko
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.250 seconds.