Guys,
Does anyone know what format does this TC API uses to put the selected lists to the clipboard? I have enumerated through the clipboard formats after issuing cm_CopyToClipboard, it seems that there are several custom registered clipboard formats, with which I cannot do too much.
Also I found CF_HDROP, which is - according to MSDN - a list of files, embedded in an "internal drop structure".
Can anyone shed some light on this TC functionality?
Thanks,
Zoltan
cm_CopyToClipboard
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC uses OLE copy and paste on cm_CopyToClipboard. It doesn't copy anything by itself, it just uses the IContextMenu to invoke the 'copy' verb. This can copy the following:
CF_HDROP: List of files
CFSTR_SHELLIDLIST: Item IDlists
CFSTR_FILEDESCRIPTOR: File descriptors
CFSTR_FILECONTENTS: File content using interfaces like ISTREAM
CFSTR_FILENAMEMAP: Map of file names
Check http://msdn.microsoft.com for these formats.
CF_HDROP: List of files
CFSTR_SHELLIDLIST: Item IDlists
CFSTR_FILEDESCRIPTOR: File descriptors
CFSTR_FILECONTENTS: File content using interfaces like ISTREAM
CFSTR_FILENAMEMAP: Map of file names
Check http://msdn.microsoft.com for these formats.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com