Admin Production ni-theme
Current Publication

DeleteCtrlArrayItem

LabWindows/CVI

DeleteCtrlArrayItem

int DeleteCtrlArrayItem (int controlArrayHandle, int index, int numberOfControls);

Purpose

Deletes one or more controls from the specified control array.

This function does not discard the controls from the panel.

Parameters

Input
Name Type Description
controlArrayHandle int Specifier for a particular control array that is currently in memory. You obtain this handle from GetCtrlArrayFromResourceID or NewCtrlArray.
index int Zero-based index of the first control to delete.
numberOfControls int Number of controls to delete from the control array. To delete all controls from index to the end of the array, enter –1.

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: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 2010 and later