DPI aware

DPI aware

Postby Enrico Maria Giordano » Sat Oct 10, 2020 12:30 pm

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: DPI aware

Postby karinha » Sat Oct 10, 2020 1: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
User avatar
karinha
 
Posts: 7832
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil


Re: DPI aware

Postby Silvio.Falconi » Sat Oct 10, 2020 5:06 pm

GetSystemMetrics
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7070
Joined: Thu Oct 18, 2012 7:17 pm

Re: DPI aware

Postby James Bott » Sat Oct 10, 2020 6:21 pm

I think that is GetSysMetrics().
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: DPI aware

Postby Enrico Maria Giordano » Sat Oct 10, 2020 6:47 pm

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: DPI aware

Postby Silvio.Falconi » Sat Oct 10, 2020 6: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7070
Joined: Thu Oct 18, 2012 7:17 pm

Re: DPI aware

Postby karinha » Sat Oct 10, 2020 7:06 pm

In a word, no.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7832
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: DPI aware

Postby James Bott » Sat Oct 10, 2020 7: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: DPI aware

Postby Silvio.Falconi » Sat Oct 10, 2020 7: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7070
Joined: Thu Oct 18, 2012 7:17 pm

Re: DPI aware

Postby Enrico Maria Giordano » Sat Oct 10, 2020 7:23 pm

Ok, ok, understood! :-)

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: DPI aware

Postby Otto » Sat Oct 10, 2020 7:41 pm

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

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6336
Joined: Fri Oct 07, 2005 7:07 pm

Re: DPI aware

Postby Enrico Maria Giordano » Sat Oct 10, 2020 9:05 pm

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: DPI aware

Postby James Bott » Sat Oct 10, 2020 9: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: DPI aware

Postby Enrico Maria Giordano » 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
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 52 guests