LBItemFromPt.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "commctrl.h".

Implemented in "dlls/comctl32/draglist.c".

Debug channel "commctrl".