开发者

Windows 7/Vista: change background color of combobox item (or an quivalent feature) when Aero theme is used

开发者 https://www.devze.com 2023-04-05 07:24 出处:网络
SetBkColor for combo box item does not works when Aero theme is used on Windows Vista\\Windows 7. I want to change the background color of my combobox when Aero theme is used. The idea is change the

SetBkColor for combo box item does not works when Aero theme is used on Windows Vista\Windows 7. I want to change the background color of my combobox when Aero theme is used. The idea is change the background color of combobox to red to force user to select one of the items available in another window which is launched when 开发者_StackOverflow社区one button is clicked.

If not possible then please suggest some optional functionality.

When i am using SetBkColor on OnCtlCOlor notification of the main window it works on Win XP but not on Windows 7. I am using MFC.

0

精彩评论

暂无评论...
验证码 换一张
取 消