.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH LBItemFromPt 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBLBItemFromPt\fR (COMCTL32.14) .SH SYNOPSIS INT LBItemFromPt ( HWND \fIhwndLB\fR, POINT \fIpt\fR, BOOL \fIbAutoScroll\fR ) .SH DESCRIPTION .PP Gets the index of the ListBox item under the specified point, scrolling if \fIbAutoScroll\fR is \fBTRUE\fR and \fIpt\fR is outside of the ListBox. .SH RETURNS .PP The ListBox item Id if \fIpt\fR is over a list item or \fB-1\fR otherwise. .SH IMPLEMENTATION .PP Declared in \fB"commctrl.h"\fR. .PP Implemented in \fB"dlls/comctl32/draglist.c"\fR. .PP Debug channel \fB"commctrl"\fR.