RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomCombo.ListHandle Property

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

Pascal
property ListHandle: HWnd;
C++
__property HWnd ListHandle;

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).
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!