Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combobox

Status
Not open for further replies.

iranor

Programmer
Jun 17, 2004
174
CA
I've been looking for 3 days on google and the msdn library for that, but i couldn't find any informations.

Is it possible to add a different color for each elements of a combobox? Like the first element is red, the second blue... a way to set the foreground and background color of each item?
 
Hello,

To do that you would need to override the OnPaint event. I have never done that but there are some combobox enhancements on which have. Sorry that I don't have a link to point you to a specific one. Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top