Get Process Memory Info
If you want to know how many bytes of memory is using your process, here is simple example.
If you want to know how many bytes of memory is using your process, here is simple example.
Hints are everywhere. Almost every GUI element in Windows can be “hinted”. When user hover mouse over element, small yellow bubble with help text pops up. Is it possible to change hint “window” behavior? Of course…
Using GetTempFileName, we can create a unique name for temporary file. It’s useful when your application is using temporary files and you want to save them into default TEMP folder and use a “random” filename.
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 “child” window.
Using GetSystemMetrics function, we can detect how the system is started.