MSDN Library

ListView_SetTextBkColor

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This macro sets the background color of text in a list-view control. You can use this macro or send the LVM_SETTEXTBKCOLOR message explicitly.


BOOL ListView_SetTextBkColor( 
  HWND hwnd, 
  COLORREF clrText 
);

hwnd

Handle to the list-view control.

clrText

New text color.

TRUE indicates success. FALSE indicates failure.

Related message: LVM_SETTEXTBKCOLOR

Headercommctrl.h
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2016 Microsoft