TVTDataObject.GetData Method

Virtual Tree View

Implementation of the IDataObject.GetData method.

Pascal
function GetData(const FormatEtcIn: TFormatEtc; out Medium: TStgMedium): HResult; virtual; stdcall;
Description

Whenever drag'n drop or clipboard data actually needs to be rendered then this method is called by the OLE subsystem. The class automatically returns the CF_VTREFERENCE format and any data previously set by the SetData method (e.g. by the Shell). For any other format the owner tree is asked to render the OLE data.

See Also

RenderOLEData

Class
Links
What do you think about this topic? Send feedback!