ListView_SetTextColor macroThis topic has not yet been rated - Rate this topic Sets the text color of a list-view control. You can use this macro or send the LVM_SETTEXTCOLOR message explicitly. Syntax C++BOOL ListView_SetTextColor( HWND hwnd, COLORREF clrText );
我想改变外部程序的一个listview里某项的文字颜色 能讲详细点吗
应该是发送消息。但必须先得到该控件的句柄......
至于有没有修改其颜色的消息,就不清楚了。SetTextColor也只是个函数吧
我记得有个消息可以把,找到listcontrol的句柄,发送这个消息?难道不可以吗
ListView_SetTextColor macroThis topic has not yet been rated - Rate this topic
Sets the text color of a list-view control. You can use this macro or send the LVM_SETTEXTCOLOR message explicitly.
Syntax
C++BOOL ListView_SetTextColor(
HWND hwnd,
COLORREF clrText
);