Re: How to set a backgroundcolor for a windows control (Trackbar) ?

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



"Peter Flindt" <public@xxxxxxxxxxxxxx> wrote in message
news:mn.bbe87d574dc21174.28155@xxxxxxxxxxxxxxxxx
> Jeff Partch [MVP] schrieb :
> > for a non-themed trackbar, I think you can handle the WM_CTLCOLORSTATIC
> > message to change the control's background by returning an HBRUSH of the
> > desired color.
>
> I get no WM_CTLCOLORSTATIC or other WM_CTL messages for this subbclass
> control
>

Peter, Just for the record: I do get the WM_CTLCOLORSTATIC.
--
Jeff Partch [VC++ MVP]



.