Graphisoft®

Dialog ManagerVersion: 2.0

SingleSelTreeView::SingleSelTreeView

Class constructor.

SingleSelTreeView (
    const Panel &       panel,
    short               item
);

Constructs the SingleSelTreeView control from resource.

SingleSelTreeView (
    const Panel &       panel,
    const Rect &        rect,
    short               labelLength,
    LabelFlag           label = NoLabelEdit,
    DragDropFlag        dragDrop = NoDragDrop,
    RootButtonFlag      root = RootButton
);

Constructs the SingleSelTreeView control with the given parameters.

Parameters

panel
A reference to the parent panel of the SingleSelTreeView control.
item
The item ID of the SingleSelTreeView control.
rect
A reference to the bounding rectangle of the SingleSelTreeView control.
labelLength
The maximum length of the tree view labels during editing them.
label
The label flag of the tree view.
dragDrop
The drag and drop flag of the tree view.
root
The root button flag of the tree view.