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 integer The handle of the panel for the path control.
control integer 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 integer 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.