I have a checkbox and I want the caption to appear enabled when the box is disabled. Yeah, it's crap, but we have all labels enabled at all times, so a disabled checkbox caption looks bad beside it.
According to a thread here and some stuff at Wike, setting ForeColor to 0,0,1 and DisabledForeColor to 0,0,0 should do it. Apparently. While the caption is indeed "black" when disabled, I still have a very light shadow behind it. Is there no way of removing that entirely?
Failing that, I guess I need a composite VCX of checkbox plus my own label class (which looks enabled all the time) - but how would I go about recreating the focus rectangle going around the 'label' when the whole thing has focus (ie, work the same as a standard checkbox).
I'd like to avoid OLE controls if possible.
According to a thread here and some stuff at Wike, setting ForeColor to 0,0,1 and DisabledForeColor to 0,0,0 should do it. Apparently. While the caption is indeed "black" when disabled, I still have a very light shadow behind it. Is there no way of removing that entirely?
Failing that, I guess I need a composite VCX of checkbox plus my own label class (which looks enabled all the time) - but how would I go about recreating the focus rectangle going around the 'label' when the whole thing has focus (ie, work the same as a standard checkbox).
I'd like to avoid OLE controls if possible.