Prev Next

ListView_SetTextColor info  Overview  Group

The ListView_SetTextColor macro sets the text color of a list view control. You can use this macro or explicitly send the LVM_SETTEXTCOLOR message.

BOOL ListView_SetTextColor(

    HWND hwnd,

    COLORREF clrText

   );

Parameters

hwnd
Handle to the list view control.
clrText
New text color.

Return Values

Returns TRUE if successful or FALSE otherwise.

See Also

LVM_SETTEXTCOLOR

Questions:

  • how can i have different text color for different rows in list view