TVTDataObject.QueryGetData Method

Virtual Tree View

Implementation of the IDataObject.QueryGetData method.

Pascal
function QueryGetData(const FormatEtc: TFormatEtc): HResult; virtual; stdcall;
Description

This method is called by OLE subsystem to determine which data formats are offered by the owner tree. It uses the internal clipboard format list to get a list of available and allowed formats. Currently following formats are supported: 

 

TBaseVirtualTree 

 

  • Virtual Treeview reference and process identifier
  • native serialized tree data

 

 

TCustomVirtualStringTree 

 

  • generic Unicode text
  • generic ANSI text
  • HTML formatted text (UTF-8 format)
  • RTF text (UTF-16 format)
  • CSV (comma separated values) but with customizable separators
Class
Links
What do you think about this topic? Send feedback!