[求助]怎么设置clistctrl的每一行,列的颜色啊?
高手在那?我弄这个好久了,怎么也不行,网上找了半天,看不懂,那位知道的话请说详细些,感激不禁!!!
请问你没有MSDN吗???
CListCtrl::SetTextColor
BOOL SetTextColor( COLORREF cr );
Return Value
Nonzero if successful; otherwise zero.
Parameters
cr
A COLORREF specifying the new text color. For information, see COLORREF in the Platform SDK.
Remarks
Sets the text color of a list view control.
[此贴子已经被作者于2007-3-1 19:56:29编辑过]
BOOL SetBkColor( COLORREF cr );
Return Value
Nonzero if successful; otherwise zero.
Parameters
cr
Background color to set, or the CLR_NONE value for no background color. List view controls with background colors redraw themselves significantly faster than those without background colors. For information, see COLORREF in the Platform SDK.
Remarks
Sets the background color of the list view control.