LabWindows/CVI

AddItemToPathCtrlHistory

int AddItemToPathCtrlHistory (int panel, int control, const char *path);

Purpose

Adds the input path as the most recent item in the path control's history list, if the path is not already present in the list.

Parameters

Input
Name Type Description
panel int The handle of the panel for the path control.
control int The ID of the path control.
path const char * The path that will be added as the most recent item in the path control's history list.

Return Value

Name Type Description
status int Return value indicating whether the function was successful. A negative number indicates that an error occurred. Call the GetGeneralErrorString toolbox function to get a descriptive error message.

Additional Information

Library: Path Control

Include file: custctrl\pathctrl.h

LabWindows/CVI compatibility: LabWindows/CVI 7.0 and later