Re: Alternating colors in List?

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- 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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu