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.
| 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 | 
UINT ItemFromPoint( CPoint pt, BOOL& bOutside ) const;