This sub when called will color a ListView row.
VB Code:
  1. Public Sub ColorListviewRow(lv As ListView, RowNbr As Long, RowColor As OLE_COLOR)
  2. '***************************************************************************
  3. 'Purpose: Color a ListView Row
  4. 'Inputs : lv - The ListView
  5. '         RowNbr - The index of the row to be colored
  6. '         RowColor - The color to color it
  7. 'Outputs: None
  8. '***************************************************************************
  9.    
  10.     Dim itmX As ListItem
  11.     Dim lvSI As ListSubItem
  12.     Dim intIndex As Integer
  13.    
  14.     On Error GoTo ErrorRoutine
  15.    
  16.     Set itmX = lv.ListItems(RowNbr)
  17.     itmX.ForeColor = RowColor
  18.     For intIndex = 1 To lv.ColumnHeaders.Count - 1
  19.         Set lvSI = itmX.ListSubItems(intIndex)
  20.         lvSI.ForeColor = RowColor
  21.     Next
  22.  
  23.     Set itmX = Nothing
  24.     Set lvSI = Nothing
  25.    
  26.     Exit Sub
  27.  
  28. ErrorRoutine:
  29.  
  30.     MsgBox Err.Description
  31.  
  32. End Sub
Usage: (To make the 5th row of a ListView Red)

ColorListviewRow MyListView, 5, vbRed