Category Custom user interface, Object ProUITree

Function ProUITreeNodeInsert


Description
Insert a new node before a node in the tree.
Synopsis
#include <ProUITree.h>
ProErrorProUITreeNodeInsert(
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 to be inserted.
*/
wchar_t* label
/* (In)
Label to be displayed for the inserted node.
*/
char* parent
/* (In)
Name of the parent node. If parent is NULL then the root node is created if it does not already exist.
*/
char* type
/* (In)
Node type to which the inserted node is associated.
*/
char* sibling
/* (In)
Name of the node before which the new node should be inserted.
*/
)
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