Есть текстовое поле m_IDC_EDIT1 типа CEdit.
В этом текстовом поле находится некоторый текст.
Как сделать так, чтобы в дизейбленном состоянии (то есть когда
m_IDC_EDIT1.EnableWindow(0);
) текст продолжал оставаться чёрного цвета, а фон--белого цвета?
1613 г. = 2024 г.
Здравствуйте, RussianFellow, Вы писали:
WM_CTLCOLORSTATIC
By responding to this message, the parent window can use the specified device context handle to set the text and background colors of the static control, or an edit control that is read-only or disabled.
1613 г. = 2024 г.