Re: Changing dialog look-n-feel background color
- From: "KMA" <kma@xxxxxxxxxxxxxxx>
- Date: Thu, 16 Feb 2006 08:56:06 +0100
Ajay,
Don't wish to labour the point, but this is a classic case where dynamic
dialogs save the day. You can make a base dialog which handles the colouring
issue then derive from it. Each derived dialog gets all the stuff the parent
had, you just need to add the extra controls. It is known as Form
Inheritance in other spheres.
"Ajay Kalra" <ajaykalra@xxxxxxxxx> wrote in message
news:1140037946.479659.269450@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
If you set this globally(system settings), the impact would be beyond
your application. Is that what you want? Barring that, there is nothing
really you can do other than doing it for each dialog or simply
defining classes for each type of control and subclassing these in each
dialog.
Keep in mind that for a CButton , you will need to owner draw as it no
longers responds to CTLCLR** messages.
---
Ajay Kalra
ajaykalra@xxxxxxxxx
.
- Follow-Ups:
- Re: Changing dialog look-n-feel background color
- From: Ajay Kalra
- Re: Changing dialog look-n-feel background color
- References:
- Changing dialog look-n-feel background color
- From: Eric Margheim
- Re: Changing dialog look-n-feel background color
- From: Ajay Kalra
- Changing dialog look-n-feel background color
- Prev by Date: Re: modeless dialog not visible
- Next by Date: Re: Who could tell me the difference between two code?
- Previous by thread: Re: Changing dialog look-n-feel background color
- Next by thread: Re: Changing dialog look-n-feel background color
- Index(es):