IPCtrl_Create
- Updated2023-02-21
- 5 minute(s) read
int IPCtrl_Create (int panel, const char *label, int top, int left);
Purpose
Creates a new IP control.
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. |
| label | const char * | The label of the IP control. Pass "" or 0 to omit a label. |
| top | int | The vertical coordinate at which the upper left corner of the control (not including labels) is placed. The coordinate must be an integer value from -32768 to 32767. The origin (0,0) is at the upper-left corner of the panel, directly below the titlebar, before the panel is scrolled. |
| left | int | The horizontal coordinate at which the upper left corner of the control, not including the label, is placed. The coordinate must be an integer value from -32768 to 32767. The origin (0,0) is at the upper-left corner of the panel, directly below the titlebar, before the panel is scrolled. |
Return Value
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| IPControl | int | The ID used to specify this control in subsequent function calls. Negative values indicate that an error occurred.
|
Additional Information
Library: IP Control
Include file: custctrl\IPctrl.h
LabWindows/CVI compatibility: LabWindows/CVI 8.1 and later