Category Custom user interface, Object ProUISlider

Function ProUISliderPositionGet


Description
Get the position of the slider with respect to its parent. This field is used only if the parent is a drawing area.
Synopsis
#include <ProUISlider.h>
ProErrorProUISliderPositionGet(
char* dialog
/* (In)
The name of the dialog that contains slider.
*/
char* component
/* (In)
The name of the slider component.
*/
int* x
/* (Out)
X value with respect to the upper left corner of the parent.
*/
int* y
/* (Out)
Y value with respect to the upper left corner of the parent.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_GENERAL_ERRORThe function failed.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.

Manual References:

  1. User Interface: Dialogs: Slider Operations
  2. User Interface: Dialogs: Slider Operations