| 1007 | } |
| 1008 | |
| 1009 | SItemPanel * SMCListView::GetItemPanel(int iItem) |
| 1010 | { |
| 1011 | if(iItem<0 || iItem>=m_adapter->getCount()) |
| 1012 | return NULL; |
| 1013 | SPOSITION pos = m_lstItems.GetHeadPosition(); |
| 1014 | while(pos) |
| 1015 | { |
| 1016 | ItemInfo ii = m_lstItems.GetNext(pos); |
| 1017 | if((int)ii.pItem->GetItemIndex() == iItem) |
| 1018 | return ii.pItem; |
| 1019 | } |
| 1020 | return NULL; |
| 1021 | } |
| 1022 | |
| 1023 | |
| 1024 | void SMCListView::SetItemLocator(IListViewItemLocator *pItemLocator) |
nothing calls this directly
no test coverage detected