How to Determine if There is Anything in the Clipboard

Posted December 15th @ 9:02 pm by m3Rlin

When creating a text editor (or any other kind of program that uses the Clipboard you always insert code to determine if there is anything to copy or cut and to update the menus. Well, you should also do this for the paste function. The whole idea is based on Windows messages and is very [...]

How to Copy / Move Files

Posted December 15th @ 8:50 pm by m3Rlin

Delphi’s runtime library does not provide any routines for copying or moving files. However, you can directly call the Windows API CopyFile() function to copy a file. CopyFile() is also useful when moving files across drives because neither Delphi’s RenameFile() function nor the Windows API MoveFile() function can rename/move files across drives.
!!Note: The file attributes [...]

« Previous Entries