DPI Scaling (OpenInsight 64-bit)
At 08 JUL 2021 07:03:55AM cmeyer wrote:
As suggested by Carl to change some shortcut switches I have /DP=1 in my shortcut expecting forms within the MDI to scale appropriately as I change the size of the OI window.
How can I get scaling to work?
Chris
At 08 JUL 2021 07:18AM Carl Pates wrote:
Hi Chris,
Scaling is not related changing the size of a window - it's related to a change in the monitor DPI or the form's custom SCALEFACTOR property.
You don't need to add any switches to enable a respond to a DPI change - it's the default - you add the switches to turn it off. SCALEFACTOR is something you as a developer set - it's not affected by switches at all.
What are you trying to achieve?
Here's some links that might help to explain it better:
https://revdevx.com/2013/04/23/openinsight-and-high-dpi/
https://revdevx.com/2014/05/29/openinsight-and-high-dpi-part-2/
https://revdevx.com/2014/06/02/the-scalefactor-property/