Documentação da API > Custom user interface > Object ProUITree > Function ProUITreePositionGet
Function ProUITreePositionGet
Description
Get the position of the tree with respect to its parent. This field is used only if the parent is a drawing area.
Synopsis
#include <ProUITree.h>
ProUITreePositionGet
(
char* dialog
/* (In)
The name of the dialog that contains the tree.
*/
char* component
/* (In)
The name of the tree 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
Isto foi útil?