Category Custom user interface, Object ProUITree

Function ProUITreeAnchorSet


Description
Sets the position of the tree with respect to a given anchor location. This function is applicable only if the parent of the tree is a drawing area.
Synopsis
#include <ProUITree.h>
ProErrorProUITreeAnchorSet(
char* dialog
/* (In)
The name of the dialog that contains the tree.
*/
char* component
/* (In)
The name of the tree component.
*/
int x
/* (In)
X value with respect to the upper left corner of the parent.
*/
int y
/* (In)
Y value with respect to the upper left corner of the parent.
*/
ProUIAnchor anchor
/* (In)
Location on the tree used to set the position.
*/
)
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: Tree Operations
  2. User Interface: Dialogs: Tree Operations