Combo_NewComboBox
- Updated2023-02-21
- 6 minute(s) read
int Combo_NewComboBox (int panel, int control);
Purpose
Creates a new Combo Box control.
You must pass an existing String Control ID to this function. A ring control will be added to the string control to create the Combo Box.
Parameters
| Input | ||
| Name | Type | Description |
| panel | 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. |
| control | int | The defined constant (located in the UIR header file) that was assigned to the control in the User Interface Editor or the ID returned by the NewCtrl or DuplicateCtrl function. |
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
