API Documentation > Custom user interface > Object ProUISlider > Function ProUISliderAnchorSet
Function ProUISliderAnchorSet
Description
Sets the position of the slider with respect to a given anchor location. This function is applicable only if the parent of the slider is a drawing area.
Synopsis
#include <ProUISlider.h>
ProUISliderAnchorSet
(
char* dialog
/* (In)
The name of the dialog that contains the slider.
*/
char* component
/* (In)
The name of the slider component.
*/
int x
/* (In)
X value with respect to the upper left corner of the parent.
*/
int y
/* (In)
Y value with respect to the upper left corner of the parent.
*/
/* (In)
Location on the slider used to set the position.
*/
)
Returns
The function succeeded.
The function failed.
One or more input arguments was invalid.
User Guide References
Was this helpful?