I have a ATL ActiveX Control with Edit Control. I want to set text color to the control of as per specific conditions.
I cannot use setTextColor as there is no MFC support to the the control.
I am also not able to use 'WM_CTLCOLOREDIT' message as I don't have access to CDC and CWnd.
I had similar issue setting text input limit but I accomplished it using SendMessage(EM_LIMITTEXT, (WPARAM)1000, (LPARAM)0); but could not find any message for setting text color.
Is there any other way to achieve this ?
Asked
Active
Viewed 201 times
0

Ankur Patil
- 1
- 3
– Ankur Patil Oct 23 '15 at 06:13