Return-value of the selected Windows-scalefactor ?
Posted: Tue Jan 26, 2021 9:16 am
Hello,
it is possible to define a scalefactor inside the windowdesktop defines.
Does a function exists that returns the selected value
Possible values are 100 ( normal ), 125 and 150 %
The problem GETCURSORPOS() works only with selecting 100 % scalefactor
other selections must be adjusted with a defined factor :
local hDeskTop := GETDC(0)
local a := GETCURSORPOS()
// Left Top
local nColor := GETPIXEL( hDeskTop, a[2] * nMonScale, a[1] * nMonScale )
regards
Uwe
it is possible to define a scalefactor inside the windowdesktop defines.
Does a function exists that returns the selected value
Possible values are 100 ( normal ), 125 and 150 %
The problem GETCURSORPOS() works only with selecting 100 % scalefactor
other selections must be adjusted with a defined factor :
local hDeskTop := GETDC(0)
local a := GETCURSORPOS()
// Left Top
local nColor := GETPIXEL( hDeskTop, a[2] * nMonScale, a[1] * nMonScale )
regards
Uwe