hCB = WinXAddComboBox (parent, canEdit, images, id)
Creates a new combo box control.
Parameter | Description |
---|---|
parent | The window to add the combo box to |
listHeight | The maximum height of the drop down list in pixels |
canEdit | $$TRUE if the user can use the edit component to enter their own items |
images | The handle to an image list if this combo box will display images next to it's items, 0 otherwise. |
id | The unique constant to identify this control. |
The handle to the new combo box on success, 0 on fail.
This function actually creates a ComboBoxEx control. These controls behave just like regular combo boxen, except that they can have images associate with their items. If you don't want to use images, simply leave image related parameters 0.
'create a combo box without images |
WinXComboBox_AddItem
WinXComboBox_RemoveItem
WinXComboBox_GetSelection
WinXComboBox_SetSelection
WinXComboBox_GetItem$