I have a multiline Text Box. How can I change the fore color when it is disabled ?
I fond a solution here Change a textbox colour when disabled C#
But, when MultiLine is true, it is a little bit complicated to find out currently visible portion of the text (i.e. currently visible lines and characters).
So any one know how to play with WM_CTLCOLOREDIT and WM_CTLCOLORSTATIC messages to change the fore color of Text Box in C#.NET ? OR How to change the fore color of a disabled Text Box without overriding
OnPaint()
method ?