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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CListBox - highlighted selection

Status
Not open for further replies.

shetlandbob

Programmer
Mar 9, 2004
528
GB
Hi,

Another ClistBox question I know!!

I've got a CListBox on a dialog control, I can set the colour of the text or the background to any RGB value (thanks to FAQ's!!).

My question is: how can I set the colour of the item when the user selects it? BY default it goes black, but when I start changing the background colours of the items then the highlighted colour changes????

Any ideas how I can stop this??

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top