Lines Matching refs:index
154 int index = pNMItemActivate->iItem; in OnNMClickPathList() local
155 selectPath(index, nullptr); in OnNMClickPathList()
166 int index = pNMLV->iItem; in OnLvnItemchangedPathList() local
178 if (oldChecked && !newChecked && index == mSelectedIndex) { in OnLvnItemchangedPathList()
181 } else if (!oldChecked && newChecked && index != mSelectedIndex) { in OnLvnItemchangedPathList()
184 if (n != index && mPathsListCtrl.GetCheck(n)) { in OnLvnItemchangedPathList()
189 mSelectedIndex = index; in OnLvnItemchangedPathList()
215 int index = 0; in fillPathsList() local
218 mPathsListCtrl.InsertItem(index, pv.getVersion()); // column 0 = version in fillPathsList()
219 mPathsListCtrl.SetItemText(index, COL_PATH, pv.mPath); // column 1 = path in fillPathsList()
220 mPathsListCtrl.SetCheck(index, mSelectedIndex == index); in fillPathsList()
221 ++index; in fillPathsList()
234 void CFindJava2Dlg::selectPath(int index, const CJavaPath *path) { in selectPath() argument
242 if (index < 0 && path != nullptr && p == *path) { in selectPath()
243 index = i; in selectPath()
245 } else if (index == i) { in selectPath()
250 if (i != index && i < n && mPathsListCtrl.GetCheck(i)) { in selectPath()
257 mSelectedIndex = index; in selectPath()
258 if (index >= 0 && index <= n) { in selectPath()
259 mPathsListCtrl.SetCheck(index, TRUE); in selectPath()