Graphisoft®

Dialog ManagerVersion: 2.0

ItemDragDropData::GetText

Gets the text drag format data if exists in the current drag and drop operation.

bool GetText (
    char *              text,
    ULong               size
) const;

Parameters

text
The text data in a drag and drop operation which contains the 'TEXT' drag format.
size
Size of the text data.

Return Value

true if the text data was successfully retrieved, otherwise false.

Description

Use this function after you checked with HasDragFormat that the 'TEXT' type drag and drop exists in the current drag and drop operation.