Multi-Monitor Screen Size/DPI
Posted: Fri Dec 20, 2019 7:36 am
hi,
i have found in c:\fwh\source\function\getsysin.prg
---
ScreenWidth() / ScreenHeight() use SM_CXFULLSCREEN / SM_CYFULLSCREEN
this work well when Scale is 100% but fail at 150% or is it "by Design"
what i mean are those Function used for relative or absolute Size
if these function is used for relative Size i like to request 2 new HB_FUNC using
---
not tested yet. will it return mm for pixel
---
on my 1600x1200 i got sometging with 500 ... hm
with .T. something with 24.xx ... hm
---
this now what i want to know how FiveWin work
let say you have 2 x Monitor with Different Resolution _ might also be different.
if you put your App between both Monitor how will it look like when 1st is 100% and 2nd 150%
i mean does a FiveWn App will react on those Situation or do i have to make App "DpiAware"
i have found in c:\fwh\source\function\getsysin.prg
---
Code: Select all
function ScreenWidth()
function ScreenHeight()
this work well when Scale is 100% but fail at 150% or is it "by Design"
what i mean are those Function used for relative or absolute Size
if these function is used for relative Size i like to request 2 new HB_FUNC using
Code: Select all
#define DESKTOPVERTRES 117
#define DESKTOPHORZRES 118
Code: Select all
function ScreenHeightMM()
function ScreenWidthMM()
---
Code: Select all
function ScreenSize( lInches )
with .T. something with 24.xx ... hm
---
Code: Select all
function FW_GetMonitor()
let say you have 2 x Monitor with Different Resolution _ might also be different.
if you put your App between both Monitor how will it look like when 1st is 100% and 2nd 150%
i mean does a FiveWn App will react on those Situation or do i have to make App "DpiAware"