I can change a button to any colour, but is there a way of finding what colour the button is before I change it?
John
Yes. Use the GetFGColor and GetBGColor methods.
CButton, and all of the controls, are derived from CControl. See in the docs Library Reference->Classes->CControl->Methods.
Thanks paul, I'v been searching for ages :-[ so obvious when you ask!