Re: Changing dialog look-n-feel background color
- From: "Ajay Kalra" <ajaykalra@xxxxxxxxx>
- Date: 16 Feb 2006 08:14:47 -0800
KMA,
What you are saying can be accomplished simply by deriving a class from
CDialog and doing the same thing as you are suggesting for coloring. I
dont see the connection between this and dynamic dialogs. I am
familiar with Form Inheritance(used in .Net).
Keep in mind though, the solution that you are proposing will not wrok
if the control does not respond to WM_CTLCOLOR messages(and its parent
dialog cannot directly change these properties). IOW, CButtons etc will
not work if you take this approach because those require owner drawing.
----------
Ajay Kalra
ajaykalra@xxxxxxxxx
.
- References:
- Changing dialog look-n-feel background color
- From: Eric Margheim
- Re: Changing dialog look-n-feel background color
- From: Ajay Kalra
- Re: Changing dialog look-n-feel background color
- From: KMA
- Changing dialog look-n-feel background color
- Prev by Date: Re: Changing dialog look-n-feel background color
- Next by Date: Re: Creating 'Shared Memory' using MFC
- Previous by thread: Re: Changing dialog look-n-feel background color
- Next by thread: Re: Changing dialog look-n-feel background color
- Index(es):