API Documentation > Custom user interface > Object ProUITree > Function ProUITreeNodeInsert
Function ProUITreeNodeInsert
Description
Insert a new node before a node in the tree.
Synopsis
#include <ProUITree.h>
ProUITreeNodeInsert
(
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
The function succeeded.
The function failed.
One or more input arguments was invalid.
User Guide References
Was this helpful?