Ver Mensaje Individual
  #5  
Antiguo 04-03-2008
Avatar de cHackAll
[cHackAll] cHackAll is offline
Baneado?
 
Registrado: oct 2006
Posts: 2.159
Reputación: 22
cHackAll Va por buen camino
Código:
void __fastcall TForm1::ListView1CustomDrawSubItem(TCustomListView *Sender,
      TListItem *Item, int SubItem, TCustomDrawState State,
      bool &DefaultDraw)
{
 if (SubItem == 1)
  { Sender->Canvas->Brush->Color = 0x669966; }
 else if (SubItem == 2)
  { Sender->Canvas->Brush->Color = 0xffcc33; }
 else if (SubItem == 3)
  { Sender->Canvas->Brush->Color = 0x0066ff; }
 DefaultDraw = 1;
}
Responder Con Cita