NAME

LBItemFromPt  (COMCTL32.14)

SYNOPSIS

 INT LBItemFromPt
 (
  HWND  hwndLB,
  POINT pt,
  BOOL  bAutoScroll
 )

DESCRIPTION

Gets the index of the ListBox item under the specified point, scrolling if bAutoScroll is TRUE and pt is outside of the ListBox.

RETURNS

The ListBox item Id if pt is over a list item or -1 otherwise.

IMPLEMENTATION

Declared in "include/commctrl.h". gitlab.winehq.org/wine/wine/blob/master/include/commctrl.h

Implemented in "dlls/comctl32/draglist.c". gitlab.winehq.org/wine/wine/blob/master/dlls/comctl32/draglist.c

Debug channel "commctrl".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.