Forum: Multimedia
Delphi
by PeterPanino,
19. Okt 2023
Wie ändert sich aber die Tray-Icon Größe in Abhängigkeit zum SCREEN DPI?
Forum: Multimedia
Delphi
by PeterPanino,
19. Okt 2023
Ich verwende diesen Code zur Bestimmung des SCREEN DPI Wertes:
function GetScalingFactor: Integer;
// The function returns the number of pixels per logical inch along the screen width. Normally, this will be 96
// for a scaling of 100%. Higher values indicate higher scaling.
// Once you have the scaling factor, you can make an educated guess about the tray icon size. For example,
// if the...