Blog Archives

5-Minute-Snack: Determine the vertical refresh rate in Hz of your display

Delphi has taken great strides in the RTL that make using direct Windows API calls more and more redundant. A lot of things can be determined using classes that can either be found in the RTL or VCL. However, the vertical refresh rate seems to have been overlooked as I cannot find it in any of the new classes of the RTL.

Read more ›

Tags: , , , , , , , ,

5-Minute-Snack: Hiding or changing the mouse cursor system-wide

At first look, this might seem like a very easy task. Especially, when you simply want to hide the mouse cursor, you will find the method 

function ShowCursor; external user32 name ‘ShowCursor’;

in the Windows API.

Simply state…

ShowCursor( False );

..and the mouse cursor disappears.

Read more ›

Tags: ,

Partnerships



Top