With this simple function, you will be able to get volume serial number and label. It could be either hard disk partition or CD/DVD disk.
Using this simple trick, you can write any text right on Windows desktop. You can choose text color, transparency, position…
Using ShlObj unit and SHGetSpecialFolderLocation Windows API function, we can retrieve the location of a special folders, such as My computer, Desktop, Program Files etc… There are over 20 special… Read more »
If you want to detect user inactivity even if your application is in background (has no focus), it’s really simple. You can achieve this using GetLastInputInfo function.