API 文件集 > Custom user interface > Object ProUIProgressbar > Function ProUIProgressbarPositionGet
Function ProUIProgressbarPositionGet
Description
Get the position of the progressbar with respect to its parent. This field is used only if the parent is a drawing area.
Synopsis
ProUIProgressbarPositionGet
(
char* dialog
/* (In)
The name of the dialog that contains progressbar.
*/
char* component
/* (In)
The name of the progressbar 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
The function succeeded.
The function failed.
One or more input arguments was invalid.
這是否有幫助?