Lines Matching refs:nHitIndex
239 int32_t nHitIndex = GetItemIndex(point); in OnMouseDown() local
243 if (IsItemSelected(nHitIndex)) { in OnMouseDown()
244 m_aSelItems.Sub(nHitIndex); in OnMouseDown()
248 m_aSelItems.Add(nHitIndex); in OnMouseDown()
253 m_nFootIndex = nHitIndex; in OnMouseDown()
256 m_aSelItems.Add(m_nFootIndex, nHitIndex); in OnMouseDown()
260 m_aSelItems.Add(nHitIndex); in OnMouseDown()
263 m_nFootIndex = nHitIndex; in OnMouseDown()
266 SetCaret(nHitIndex); in OnMouseDown()
268 SetSingleSelect(nHitIndex); in OnMouseDown()
271 if (!IsItemVisible(nHitIndex)) in OnMouseDown()
272 ScrollToListItem(nHitIndex); in OnMouseDown()
278 int32_t nHitIndex = GetItemIndex(point); in OnMouseMove() local
283 m_aSelItems.Add(m_nFootIndex, nHitIndex); in OnMouseMove()
285 m_aSelItems.Sub(m_nFootIndex, nHitIndex); in OnMouseMove()
290 m_aSelItems.Add(m_nFootIndex, nHitIndex); in OnMouseMove()
294 SetCaret(nHitIndex); in OnMouseMove()
296 SetSingleSelect(nHitIndex); in OnMouseMove()
299 if (!IsItemVisible(nHitIndex)) in OnMouseMove()
300 ScrollToListItem(nHitIndex); in OnMouseMove()