Changing dialog look-n-feel background color
- From: "Eric Margheim" <NOSPAM***eric@xxxxxxxxxxxxx***NOSPAM>
- Date: Wed, 15 Feb 2006 12:51:08 -0600
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
.
- Follow-Ups:
- Re: Changing dialog look-n-feel background color
- From: Ajay Kalra
- Re: Changing dialog look-n-feel background color
- From: AliR
- Re: Changing dialog look-n-feel background color
- Prev by Date: Preprocessor #define for MFC builds
- Next by Date: Re: Preprocessor #define for MFC builds
- Previous by thread: Preprocessor #define for MFC builds
- Next by thread: Re: Changing dialog look-n-feel background color
- Index(es):
Loading