1

I need to tweak the appareance of a TEdit component, But i'm failing to find a solution to change the highlight color and font color of a TEdit component when the text is selected (highlighted) , exist any WinApi message or function to change the突出颜色?

4

1 回答 1

-1

组件的绘制在WM_PAINT消息内完成。在您应该在调用标准之前WndProc将所需的颜色设置为,并在调用后将其重置为默认值。我认为这是最简单的解决方案。clHighlightTextWndProc

于 2013-03-25T06:50:47.023 回答