>How do I determine background colour of windows ?
>I require this for setting backgrouond colour
>of my controls in form e.g. Textbox,Editbox,combo,grid etc.
>
>TIA
If you absolutely need to set them and not use the defaults, then you should use GetSysColor(). It is a Win API routine.
However, I do recommend leaving them as the default, like Sylvain said.
Doug Stalter
"According to the proverb, the best things are the most difficult." -Plutarch