Category Custom user interface, Object ProUITree

Function ProUITreeNodeAdd


Description
Add a new node to the tree.
Synopsis
#include <ProUITree.h>
ProErrorProUITreeNodeAdd(
char* dialog
/* (In)
The name of the dialog that contains the tree.
*/
char* component
/* (In)
The name of the tree component.
*/
char* name
/* (In)
Name of the node.
*/
wchar_t* label
/* (In)
Label to be displayed for the node.
*/
char* parent
/* (In)
Name of the parent. If parent is NULL then the root node is created if it does not already exist.
*/
char* type
/* (In)
Node type to which the node should be associated.
*/
)
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 Node Functions
  2. User Interface: Dialogs: Tree Node Functions

Sample Code References:

  1. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )
  2. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )