CDragListBox::ItemFromPt

int ItemFromPt( CPoint pt, BOOL bAutoScroll = TRUE );

Return Value

Zero-based index of the drag list box item.

Parameters

pt

A CPoint object containing the coordinates of a point within the list box.

bAutoScroll

Nonzero if scrolling is allowed, otherwise 0.

Remarks

Call this function to retrieve the zero-based index of the list box item located at pt.

CDragListBox OverviewClass MembersHierarchy Chart