ClearPathCtrlHistory
- Updated2023-02-21
- 1 minute(s) read
int ClearPathCtrlHistory (int panel, int control);
Purpose
Empties the history list of the path control.
Parameters
| Input | ||
| Name | Type | Description |
| panel | int | The handle of the panel for the path control. |
| control | int | The ID of the path control. |
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
Example
Refer to userint\custctrl\pathctrl\simple.cws for an example of using the ClearPathCtrlHistory function.