i like to set "TabStops" in ComboBox so i need Handle of Listbox Part when "open" ComboBox
how can i get Handle of "ComboLBox"

Moderator: Rathinagiri
you need a "Name" of Control which is a Combobox.
this is one Waywhen CBN_DROPDOWN notification code is send Listbox Part will open
Then use FindWindowEx() to get the handle of the control ...
to get Information use GetComboBoxInfo function (winuser.h)hwndCombo Handle to the combo box.
hwndItem Handle to the edit box.
hwndList Handle to the drop-down list.
Code: Select all
#define LBS_USETABSTOPS 128 // 0x80
Code: Select all
HMG_ChangeWindowStyle( nHwnd1 , LBS_USETABSTOPS , NIL , .T. )
Code: Select all
LISTBOXSETMULTITAB(nHwnd1, aTabStops )