Graphisoft®

Dialog ManagerVersion: 2.0

TreeView::AppendItem

Appends an item to the tree view control.

long AppendItem (long parentItem);

Parameters

parentItem
ID of the parent item under which the new item should be placed as a child item. RootItem specifies the root of the tree view.

Return Value

ID of the new tree view item, or NoItem if the function failed.

Description

Appends an item to the tree view control. The item will be inserted at the bottom of the level below parentItem.

The new item will have the following default properties:

Property Value
Color The system default foreground (text) color.
Icon (normal) NoIcon
Icon (state) NoIcon
Long 0
Status Enabled
Style The style of the font of the tree view.
Text empty