Lines Matching defs:nIndex
175 int nIndex;
187 nIndex = m_manufacturerListCtrl.FindItem(&info);
189 if (nIndex != -1)
191 m_manufacturerListCtrl.SetItemState(nIndex, LVIS_SELECTED, LVIS_SELECTED);
195 AutoScroll(m_manufacturerListCtrl, nIndex);
204 nIndex = m_modelListCtrl.FindItem(&info);
206 if (nIndex != -1)
208 m_modelListCtrl.SetItemState(nIndex, LVIS_SELECTED, LVIS_SELECTED);
209 AutoScroll( m_modelListCtrl, nIndex );
316 CThirdPage::AutoScroll( CListCtrl & list, int nIndex )
325 list.EnsureVisible( nIndex, FALSE );
330 if ( ( nIndex == top ) || ( ( nIndex + 1 ) == ( top + count ) ) )
337 if ( nIndex == top )
1051 int nIndex;
1059 nIndex = m_manufacturerListCtrl.FindItem(&info);
1061 if (nIndex != -1)
1063 m_manufacturerListCtrl.SetItemState(nIndex, LVIS_SELECTED, LVIS_SELECTED);
1068 AutoScroll(m_manufacturerListCtrl, nIndex);
1384 int nIndex;
1388 nIndex = m_manufacturerListCtrl.InsertItem(0, manufacturer->name);
1390 m_manufacturerListCtrl.SetItemData(nIndex, (DWORD_PTR) manufacturer);