Individual color of a text field
I have some dificulties to change the color of only one text field in my dialog box. I used first :
hBrush = CreateSolidBrush(RGB(0, 0, 0));
SetBkColor((HDC)wParam, RGB(0, 0, 0));
SetTextColor((HDC)wParam, RGB(255, 0, 0));
But this change the color of ALL the text fields.
The text field I want to change is called HAUTEUR. How can I ask to the program to change only the color of HAUTEUR ?
All the best