Call this member function to determine the list-box item nearest the point specified in pt. You could use this function to determine which list-box item the mouse cursor moves over.
UINT ItemFromPoint( CPoint pt, BOOL& bOutside ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CListBox Overview, CListBox Member Functions, Control Classes, CListBox::GetItemRect