jonjonjon
October 13th, 1999, 02:40 AM
When I insert items into a list control.. Can
I change the color of the text that is displayed?
Thanks in advance!
I change the color of the text that is displayed?
Thanks in advance!
|
Click to See Complete Forum and Search --> : List Control & Colors jonjonjon October 13th, 1999, 02:40 AM When I insert items into a list control.. Can I change the color of the text that is displayed? Thanks in advance! Thomas Ascher October 13th, 1999, 03:21 AM Hi. Yes, you must create the list control with style LVS_OWNERDRAWFIXED. Then the list control will send the message WM_DRAWITEM for each list item to its parent. In the parent catch this message and draw the list item in the way you like. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |