If you're doing all your drawing in OnPaint it should
work without any special handling. Doesn't that work
for you?
You can also handle WM_SYSCOLORCHANGE
(if you're caching and reusing brushes)
/claes
"Toni" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Folks,
>
> I wrote a custom control with custom drawing. What I want to detect is
when
> user change their system-wide color scheme, the custom control reflects
that
> change as well.
>
> Does anybody know how to do this?
> -toni
>
>
|