Delphi编程中获取屏幕分辨率 当我们需要获取所运行程序时计算机的分辨率时,有两种方法:①可以通过访问Delphi提供的SCREEN全局变量,即SCREE...
代码说明:
Delphi编程中获取屏幕分辨率 当我们需要获取所运行程序时计算机的分辨率时,有两种方法:①可以通过访问Delphi提供的SCREEN全局变量,即SCREEN.WIDTH和SCREEN.HEIGHT以像素点给出屏幕的分辨率。②利用Windows的API函数GetDeviceCaps()来得到所用显示器的分辨率-Delphi programming to obtain the screen resolution when we need access to run programs when the computer s resolution, there were two ways: ① Delphi can be provided by visiting SCREEN global variables, that is, in pixels screen.width screen.height points and to the screen resolution. ② using Windows-API function GetDeviceCaps () to get used to the display resolution
下载说明:请别用迅雷下载,失败请重下,重下不扣分!