hi, does any one know how to change the background color of a listview control in api..i have been searching for hours and found nothing, thanks
Printable View
hi, does any one know how to change the background color of a listview control in api..i have been searching for hours and found nothing, thanks
An excerpt from MSDN:
ListView.setBackColor
Sets the background color for the list view control.
Syntax
public void setBackColor( Color value )
Parameters
value
A Color object that represents the background color for the list view control. The default value is the system window color.
hope it helps
what is ListView thought?
in ListView.setBackColor
thanks, i found a way to do it
for backbackgroundCode:SendMessage(hwndList, LVM_SETBKCOLOR, 0, RGB(0,0,0));
and
for textCode:SendMessage(hwndList, LVM_SETTEXTCOLOR, 0, RGB(255,255,255));