Re: Alternating colors in List?
- Posted by Derek Parnell <ddparnell at bigpond.com> Jun 07, 2003
- 391 views
----- Original Message ----- From: <1evan at sbcglobal.net> To: "EUforum" <EUforum at topica.com> Subject: Alternating colors in List? > > > Is it possible to have the background of alternating lines in a list be > alternating colors? This would make reading the contents easier. > Or even have the lines of text be in alternating colors. > The default list box that comes with Windows does not support this. To get this effect you have to have an 'owner-drawn' control. This means that your application is responsible for look of the control WIndows sends your application messages when the control or parts of it need redrawing. This is not a trival thing to do. One day I'll see what can be done to make it easier for win32lib applications. -- Derek.