Displaying ListView items - with class! by Rob Birdwell
p;
// Map the other class data to sub-items of the ListItem
// These aren't necessarily displayed...
SetSubItem(0, m_Person.Rank);
SetSubItem(1, m_Person.SerialNumber);
}
// Property for m_Person access
public
// Map the other class data to sub-items of the ListItem
// These aren't necessarily displayed...
SetSubItem(0, m_Person.Rank);
SetSubItem(1, m_Person.SerialNumber);
}
// Property for m_Person access
public
| 对此文章发表了评论 |

