Graphisoft®

Dialog ManagerVersion: 2.0

ItemDragDropData::GetData

Gets the data for the specified drag format.

bool GetData (
    DGDragFormat        format,
    void *              data,
    ULong               size
) const;

Parameters

format
DGDragFormat type parameter. Used to specify the drag format in character style like: 'TEXT', 'FILE' etc.
data
Drag and drop data of the specified format.
size
Size of the drag and drop data.

Return Value

true if the data retrieval was successful, otherwise false.

Description

If used on a delayed drag data format, the drag source is requested to fill the data. Otherwise sets the specified drag and drop data.