LabWindows/CVI

ScrollBar_Update

int ScrollBar_Update (int panelHandle, int scrollBarID);

Purpose

Updates the scroll bar.

Parameters

Input
Name Type Description
panelHandle 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.
scrollBarID int The defined constant (located in the UIR header file) which was assigned to the graph control in the User Interface Editor, or the ID returned by the ScrollBar_Create or ScrollBar_ConvertFromGraph functions.

Return Value

Name Type Description
status int Return value indicating whether the function was successful. A negative number indicates that an error occurred.
Return Values: 0 Success
–1 General error, probably out of memory.
–2 Control ID is not a graph
–3 Bad attribute value
–4 Bad attribute

Additional Information

Library: Scroll Bar Control

Include file: custctrl\scroll.h

LabWindows/CVI compatibility: LabWindows/CVI 8.1 and later