CListBox::ItemFromPoint

This method determines the list-box item nearest the point specified in pt. You could use this method to determine which list-box item the mouse cursor moves over.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

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

See Also

CListBox::GetItemRect