PasswordCtrl_Create
- Updated2023-02-21
- 5 minute(s) read
int PasswordCtrl_Create (int panel, const char *label, int top, int left);
Purpose
This function creates a new password 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 password control. Pass "" or 0 for no 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 title bar) before the panel is scrolled. |
| left | int | The horizontal 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 title bar) before the panel is scrolled. |
Return Value
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| passwordControl | int | Returns the ID used to specify this control in subsequent function calls. Negative values indicate that an error occurred.
|
Additional Information
Library: Password Control
Include file: custctrl\pwctrl.h
LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later