K
kelvin.koogan
Using C++ in VS2005
I am setting color of ListView items (there is only a single column)
using the following code:
ListViewItem ^pItem = gcnew ListViewItem(pName);
pItem->ForeColor = Color::Blue;
this->List->Items->Add(pItem);
But all the items still appear black. If I click on the items with the
mouse then they turn blue.
Any idea what is wrong?
TIA,
KK
I am setting color of ListView items (there is only a single column)
using the following code:
ListViewItem ^pItem = gcnew ListViewItem(pName);
pItem->ForeColor = Color::Blue;
this->List->Items->Add(pItem);
But all the items still appear black. If I click on the items with the
mouse then they turn blue.
Any idea what is wrong?
TIA,
KK