CDragListBox::ItemFromPt
Call this function to retrieve the zero-based index of the list box item located at pt.
int ItemFromPt(
CPoint pt,
BOOL bAutoScroll = TRUE
) const;
Параметры
pt
A CPoint object containing the coordinates of a point within the list box.bAutoScroll
Nonzero if scrolling is allowed, otherwise 0.
Возвращаемое значение
Zero-based index of the drag list box item.
Требования
Header: afxcmn.h