Category Custom user interface, Object ProUILayout

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>
ProErrorProUILayoutPositionGet(
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
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: Layout Operations
  2. User Interface: Dialogs: Layout Operations