Vcl.StdCtrls.TCustomCombo.ListHandle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ListHandle: HWnd read FListHandle;

C++

__property HWND ListHandle = {read=FListHandle, nodefault};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomCombo

Description

Provides access to the window handle of the list of items in the combo box.

A combo box is composed of several windows: the combo box itself, the edit control, and the drop-down list. ListHandle is the window handle of the drop-down list. (The Handle property and the EditHandle property give the handles for the combo box itself and the edit portion, respectively.)

Use ListHandle when making Windows API calls addressed to the list portion of the combo box.

Note: ListHandle is only available when the combo box has a "simple" style (an edit box with a fixed list below rather than a drop-down list).

See Also