Home > Back-end >  Delphi take big error resolution of the screen resolution
Delphi take big error resolution of the screen resolution

Time:09-21

Delphi take screen resolution, I use two methods 1: GetWindowRect (GetDesktopWindow, rec); 2: Screen Monitors [0]. BoundsRect.
Have a larger problem: when the resolution is set (such as more than 2000) to take out the width and height is wrong, take out the width is only 1000,

CodePudding user response:

Delphi for the size of the screen (desktop) :

Screen. DesktopTop;
Screen. DesktopHeight;
Screen. DesktopLeft;
Screen. DesktopWidth
  • Related