CListBox::ItemFromPoint

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.

Syntax

UINT ItemFromPoint( CPoint pt, BOOL& bOutside ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CListBox Overview, CListBox Member Functions, Control Classes, CListBox::GetItemRect