Re: Changing dialog look-n-feel background color



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

.