Changing dialog look-n-feel background color



I'm messing around with a new look-n-feel for my application to flatten it
out more. I'd like to create a new look for the dialog boxes. I've
overriden OnNcPaint and OnEraseBkgnd to change background color and border.
I have a pretty good feel for this. I'd like for all the controls that use
the typical COLOR_BTNFACE and COLOR_3DFACE grey colors to change too. Is
there an easy way to just set these global colors through an API so I don't
have to put paint code in all my control classes? I'm sure I'll still have
to tweak the drawing code a bit but I'm looking to make this as painless as
possible.

Thanks

Eric


.


Loading