The edit control can be set with a read only style. Do CheckBox's, or ComboBox's have a similar style or a way to prevent changing the state?
*** OR ***
I can detect the CheckBox control getting focus and redirect it but how would I then change the color of the check box from white to gray to match the read only style.
Disabled style is not an option due to the fact it makes the text inside of it dark gray in lieu of black.
I checked the WIN32API and it appears there isn't an equivelent style that I can ascertain.
P.S. To further add to it I am using a custom bitmap background for the dialog
------------------
George W. Bleck
Senior System Engineer
KeySpan Corporation
[This message has been edited by George Bleck (edited October 04, 2000).]
*** OR ***
I can detect the CheckBox control getting focus and redirect it but how would I then change the color of the check box from white to gray to match the read only style.
Disabled style is not an option due to the fact it makes the text inside of it dark gray in lieu of black.
I checked the WIN32API and it appears there isn't an equivelent style that I can ascertain.
P.S. To further add to it I am using a custom bitmap background for the dialog
------------------
George W. Bleck
Senior System Engineer
KeySpan Corporation
[This message has been edited by George Bleck (edited October 04, 2000).]
Comment