Using this simple tip, you can block your application to be executable only once per windows sessions. To run application again, Windows must be restarted before.
Detecting clipboard change is very similar to detecting system time change. We will detect WM_DRAWCLIPBOARD system message.
If you want to know how many bytes of memory is using your process, here is simple example.
To get full path to application associated with any file type, we need standard ShellAPI unit and the rest will do the FindExecutable function.
When you minimize modal window, this window is “hidden” behind (or below) application main form. Using this simple trick, we can minimize also the main application window together with modal… Read more »
Using GetSystemMetrics function, we can detect how the system is started.
This simple function will return name of currently logged in user.
This short tip will show you how to delete file to Recycle Bin. We need ShellAPI unit and the rest is very simple.