PDA

View Full Version : SetupBuilder and DPI Aware apps



NewsArchive
07-07-2016, 02:06 AM
Hi Folks,

As most of you probably know, Friedrich Linder ( creator of SetupBuilder )
is on vacation for a few days.

I mentioned the recent thread in the C10 newsgroup about "DPI aware apps"
to him and how there is a manifest fix for it.

As expected, he was already aware of it. He wanted me to let everyone know
that the SetupBuilder 10 maintenance build (which will be uploaded
tomorrow) already has that as an option for manifest generation.

SetupBuilder Rocks (and so does Friedrich - even on vacation) !!!


:-)

Charles



--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
developer tools!
www.solidsoftware.de - ImageEx and RichReport templates!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
07-07-2016, 02:06 AM
Hi Charles and Friedrich,

Great news!

Some questions:
1. What does the option "True/PM" exactly do?
2. Which setting is preferred these days: "True" or "True/PM"?
3. Can this setting "harm" on older Windows systems, for example when
running a manifest with "True/PM" on XP/Vista?

Best regards,
Jeffrey

NewsArchive
07-07-2016, 02:07 AM
> Some questions:
> 1. What does the option "True/PM" exactly do?
> 2. Which setting is preferred these days: "True" or "True/PM"?
> 3. Can this setting "harm" on older Windows systems, for example when
> running a manifest with "True/PM" on XP/Vista?

For those that saw the post here instead of the C10 group, Arnor gave an
accurate response (below) there:

> 1. What does the option "True/PM" exactly do?

It sets the DPI awareness dependent on monitor (PM = Per Monitor)

> 2. Which setting is preferred these days: "True" or "True/PM"?

Since more and more people use multiple monitors I would use True/PM

> 3. Can this setting "harm" on older Windows systems, for example when
> running a manifest with "True/PM" on XP/Vista?

To the best of my knowledge older systems simply ignore parts of the
manifest that doesn't apply to them.

The SetProcessDpiAwareness APIs are only available in Windows 8.1 and
later
(https://msdn.microsoft.com/en-us/library/windows/desktop/dn302122(v=vs.85).aspx)

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC



--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
developer tools!
www.solidsoftware.de - ImageEx and RichReport templates!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
07-07-2016, 02:07 AM
Hi Jeffrey,

> Some questions:

See Charles' reply quoting my reply<g>

> 3. Can this setting "harm" on older Windows systems, for example when
> running a manifest with "True/PM" on XP/Vista?

Did some further digging on this - didn't find much, but I don't think
it matters.

Some further manifest info:
https://msdn.microsoft.com/en-us/library/aa374191(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/aa375635(v=vs.85).aspx

Consider that manifest with Windows Vista (or was it XP?) to Windows 10
in SupportedOS work fine on any version of Windows in my experience, I
can't see that dpiAware could be version dependent. Generally if a XML
reading process doesn't know about an attribute or property it's ignored.

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
07-07-2016, 02:15 AM
Hi Arnor,

Thank you for your clear explanation!

Best regards,
Jeffrey

NewsArchive
07-07-2016, 02:16 AM
Thanks again!

Best regards,
Jeffrey

NewsArchive
07-08-2016, 01:58 AM
Hi Arnor,
>> 2. Which setting is preferred these days: "True" or "True/PM"?
>
> Since more and more people use multiple monitors I would use True/PM

I cannot test here but I think for the "True/PM" setting the Exe must react
on a special system event (WM_DPICHANGED). Out of the Clarion box will
happen nothing I fear.
Maybe using "True" and after moving the program to the other monitor
closing and reopen it could be a workaround.
Ciao, Thomas

NewsArchive
07-08-2016, 01:58 AM
Hi Thomas,

> I cannot test here but I think for the "True/PM" setting the Exe must react
> on a special system event (WM_DPICHANGED). Out of the Clarion box will
> happen nothing I fear.
> Maybe using "True" and after moving the program to the other monitor
> closing and reopen it could be a workaround.

I'm not sure. And I have nothing to test with either;)

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
07-08-2016, 01:58 AM
> I'm not sure. And I have nothing to test with either;)

Well damn!

Now we're all going to have to buy new high resolution monitors!

"But honey - I need it for the business..."


:-)

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
developer tools!
www.solidsoftware.de - ImageEx and RichReport templates!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------