Combo_DeleteComboItem
- Updated2023-02-21
- 6 minute(s) read
int Combo_DeleteComboItem (int panelHandle, int controlID, int itemIndex, int numberOfItems);
Purpose
Deletes one or more items from a Combo Box control starting at itemIndex.
Parameters
| Input | ||
| Name | Type | Description |
| panelHandle | int | The specifier for a particular panel that is currently in memory. This handle will have been returned by the LoadPanel, NewPanel, or DuplicatePanel function. |
| controlID | int | The defined constant (located in the UIR header file) that was assigned to the original string in the User Interface Editor or the ID returned by the Combo_NewComboBox function. |
| itemIndex | int | The zero–based index of the first item to be deleted. |
| numberOfItems | int | The number of items to delete. To delete all items from itemIndex to the end, enter –1 for numberOfItems. |
Return Value
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| status | int | Return value indicating whether the function was successful. A negative number indicates that an error occurred.
|
Additional Information
Library: Combo Box
Include file: custctrl\combobox.h
LabWindows/CVI compatibility: LabWindows/CVI 5.5 and later