Class TDropTextSource (unit DropSource)

Inherits from

TDropSource

IDropSource

IDataObject

Constructors


constructor Create;

----------------------------------------------------------------------------- TDropTextSource -----------------------------------------------------------------------------


Functions

destructor Destroy;


function DoEnumFormatEtc(dwDirection: Longint; out enumFormatEtc: IEnumFormatEtc): HResult;

This method is called by the drop target to check whether the source provides data in a format that the target accepts.

function DoGetData(const formatetcIn: TFormatEtc; out medium: TStgMedium):HResult;

Adapted from stefc@fabula.

function DoGetDataHere(const formatetc: TFormatEtc; out medium: TStgMedium):HResult;


function DoQueryGetData(const formatetc: TFormatEtc): HResult;


Properties

property Text : string


Events

Variables

FText : string;



Constructors


constructor Create;

----------------------------------------------------------------------------- TDropTextSource -----------------------------------------------------------------------------


Functions


destructor Destroy;


function DoEnumFormatEtc(dwDirection: Longint; out enumFormatEtc: IEnumFormatEtc): HResult;

This method is called by the drop target to check whether the source provides data in a format that the target accepts.


function DoGetData(const formatetcIn: TFormatEtc; out medium: TStgMedium):HResult;

Adapted from stefc@fabula.com


function DoGetDataHere(const formatetc: TFormatEtc; out medium: TStgMedium):HResult;


function DoQueryGetData(const formatetc: TFormatEtc): HResult;


Properties


property Text : string


Events


Variables


FText : string;