Graphisoft®

Dialog ManagerVersion: 2.0

ItemDragDropData::GetTreeViewSource

Gets the treeview drag source if 'TVEX' drag format is present.

TreeView * GetTreeViewSource (void) const;

Return Value

A DG::TreeView pointer to the listbox source of the drag and drop operation.

Description

Retrieves a tree view type Dialog Manager item. This member function succeedes only if the source item a tree view. You can check that by looking for the 'TVEX' drag format (or its modified version - ModifyBaseFormat) with the HasDragFormat function.