Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Change Background Color of (disabled) Combobox
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change Background Color of (disabled) Combobox

 Post Reply Post Reply
Author
Message
cxtw View Drop Down
Newbie
Newbie


Joined: 25 July 2007
Location: Germany
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote cxtw Quote  Post ReplyReply Direct Link To This Post Topic: Change Background Color of (disabled) Combobox
    Posted: 25 July 2007 at 11:13am
I would like to change the background (and text) color of combobox, edit and datetime controls when they are disabled.

I specified new colors using the "FillColor" and "TextColor" properties, BgType is "BorderFill". The preview that Stylebuilder shows me looks fine but the new values seem to have no effect in my actual program :-(. If the controls are disabled they are always painted with the dialog background.

This does not look that bad on dialogs but if the controls are drawn on a property page they are completely out of place as they are much brighter than the page.

Is this a bug?
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.152 seconds.