API-Dokumentation > Custom user interface > Object ProUILayout > Function ProUILayoutPositionGet
Function ProUILayoutPositionGet
Description
Get the position of the layout with respect to its parent. This field is used only if the parent is a drawing area.
Synopsis
#include <ProUILayout.h>
ProUILayoutPositionGet
(
char* dialog
/* (In)
The name of the dialog that contains layout.
*/
char* component
/* (In)
The name of the layout 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.
User Guide References
War dies hilfreich?