TextBox ForeColor does not work, when disabled ...
When a TextBox is disabled, i would like to change the ForeColor, to something else than system default.....
Going about it as follows ... does not work ....
Text1.ForeColor = RGB(x, x, x) (or even using a &H...., value)
now this does not work, so i thought I could use the API called SetTextColor .... which allows you to pass the HDC Object of the control, and then the long value of the color
SetTextColor GetDC(Text1.hWnd), RGB(x, x, x)
this does not work either ...........
Any solutions to work around about setting the ForeColor, to anything else rather than system default if the TextBox/Control is disabled .... ????
THX, in advance ......