FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour DPI aware
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
DPI aware
Posted: Sat Oct 10, 2020 12:30 PM

Is there a magic to make a FWH application DPI aware?

EMG

Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: DPI aware
Posted: Sat Oct 10, 2020 01:08 PM

Dots Per Inch? is this what the master refers to?

Regards.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: DPI aware
Posted: Sat Oct 10, 2020 05:06 PM

GetSystemMetrics

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: DPI aware
Posted: Sat Oct 10, 2020 06:21 PM

I think that is GetSysMetrics().

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: DPI aware
Posted: Sat Oct 10, 2020 06:47 PM

I wonder if there is something that can magically transform a normal app in a "DPI aware" app, whatever it means.

EMG

Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: DPI aware
Posted: Sat Oct 10, 2020 06:53 PM
Enrico Maria Giordano wrote:I wonder if there is something that can magically transform a normal app in a "DPI aware" app, whatever it means.

EMG

estimado caballero no entiendo nada, danos algunos ejemplos concretos
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: DPI aware
Posted: Sat Oct 10, 2020 07:06 PM

In a word, no.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: DPI aware
Posted: Sat Oct 10, 2020 07:06 PM
Enrico,

Close your eyes and tap your heels together three times... -From the Wizard of Oz
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: DPI aware
Posted: Sat Oct 10, 2020 07:12 PM
James Bott wrote:Enrico,

Close your eyes and tap your heels together three times... -From the Wizard of Oz


fantastic
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: DPI aware
Posted: Sat Oct 10, 2020 07:41 PM

Enrico, Although Silvio absolutely does not like it, I mention it:
mod harbour.

Best regards,
Otto

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: DPI aware
Posted: Sat Oct 10, 2020 09:05 PM

Unfortunately, I need a solution for FWH. It's not up to me.

EMG

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: DPI aware
Posted: Sat Oct 10, 2020 09:30 PM
Enrico,

Maybe you can explain a little about what you want it to do.

Normal windows in Windows software already adapt to screen size. Are you looking for something specific that is not working the way the customer wants? If, so please describe it.

If you don't know where you are going, any road will get you there. -Lewis Carroll, from the book Alice In Wonderland.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: DPI aware
Posted: Sat Oct 10, 2020 10:51 PM
This explain everything:

https://docs.microsoft.com/en-us/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows

Essentially, changing the DPI results in characters blur with FWH apps but not, as an example, with Excel.

EMG