Dialog Text Unreadable with Windows Text Enlargement

Started by SewWrite, December 30, 2020, 04:49:46 PM

Previous topic - Next topic

SewWrite

We have a Winbatch program with multiple dialogs. One of our customers has a high resolution monitor with 3840 x 2160 resolution (recommended) and she is running at text magnification of 250% (recommended). This enlarges the text in the Winbatch dialogs to the point they are unreadable and the program unusable. I tried changing the font size in the dialogs to a specific font (Tahoma 8pt) but this doesn't change anything.

Is there a IntControl or some other setting that I can use to control the text enlargement in the WinBatch dialogs?

td

I have been using dual 28'' 3840 x 2160 resolution monitors with 200% scaling ever since Windows had full support for high DPI.  WinBatch dialogs look just great on those monitors.  The reason for this is that my system always had the latest version of WinBatch installed on it.  Since WinBatch 2019A, Dialog editor has an option on the main dialog window property context menu called "Allow dialog to automatically adjust sizes".  This option creates an additional dialog template line <template name>DPI.  That line records the dialog units and DPI information of the system running Dialog Editor. When the dialog is displayed on a system with different dialog units and/or DPI it is automagically adjusted by the Dialog function.  It works great if you have WinBatch 2019A or newer.

If you scroll down you will find a brief reference here:

https://docs.winbatch.com/mergedProjects/WinBatch/WIL_Dialog_Editor_-_Attributes.htm

and here:

https://docs.winbatch.com/mergedProjects/WindowsInterfaceLanguage/html/Defining_the_Dialog.htm

The release notes for 2019A:

https://www.winbatch.com/winbatchversions.html#WB2019A
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

SewWrite

Thank you! I guess I didn't realize I had the 2017 version of WinBatch / Compiler. I've also been having problems with the dialog images which I believe is also related to the DPI issue.