ImageEn, unit iexWindowsFunctions

CanPasteFilesFromClipboard


Declaration

function CanPasteFilesFromClipboard(Handle : HWND) : Boolean;


Description

Returns True if there are files on the clipboard that have been copied from Windows Explorer or TImageEnFolderMView and can be pasted using PasteFilesFromClipboard.
Can specify 0 for Handle.


Example

btnPaste.Enabled := CanPasteFilesFromClipboard(Form1.Handle);