Re: ? Resetting CListCtrl color [flag] to (default) system color scheme

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jeff Partch [MVP] (jeffp_at_mvps.org)
Date: 05/21/04


Date: Thu, 20 May 2004 21:41:12 -0500


"Jeff Partch" <jeffp@mvps.org> wrote in message
news:%23WlvelsPEHA.556@TK2MSFTNGP10.phx.gbl...
>
> "Alec S." <a@a.com> wrote in message
> news:OAFEO2gPEHA.556@TK2MSFTNGP10.phx.gbl...
> > 3.
> > Run app
> > Change control color
> > > list control color is changed to specified color (GOOD)
> > Uncheck box and click apply
> > > system color is retrieved and list control color is set to that
> > ("GOOD")
> > Change color scheme
> > > list control color is not changed, previously retrieved system
color
> > is retained (BAD!!!!!!)
>
> Check to see what the list control does when you SetTextColor to
> CLR_INVALID. Don't hate me if it doesn't pan out.

Oops. What I think I meant was to try CLR_DEFAULT -- not CLR_INVALID. Sorry.

-- 
Jeff Partch [VC++ MVP]