RegisterVTClipboardFormat Function

Virtual Tree View

Snow earth.bmp
RegisterVTClipboardFormat Function

Methods to register a certain clipboard format for a given tree class.

Pascal
procedure RegisterVTClipboardFormat(AFormat: Word; TreeClass: TVirtualTreeClass; Priority: Cardinal); overload;
function RegisterVTClipboardFormat(Description: string; TreeClass: TVirtualTreeClass; Priority: Cardinal; tymed: Integer = TYMED_HGLOBAL; ptd: PDVTargetDevice = nil; dwAspect: Integer = DVASPECT_CONTENT; lindex: Integer = -1): Word; overload;
Description

Registration with the clipboard is done here too and the assigned ID returned by the function. tymed may contain or'ed TYMED constants which allows to register several storage formats for one clipboard format.

Group
File

VirtualTrees

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