Click here to Skip to main content
15,851,711 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
See more:
I want to change background color and text color of the edit box dynamically when certain condition is met.

WM_CTLCOLOR function we can set color at creation of edit box

but how to change color of edit box dynamically if certain condition is met

Thanks in advance

1 solution

Respond to the WM_CTLCOLOREDIT message[^] as described.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900