×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

My software has been developed in V

My software has been developed in V

My software has been developed in V

(OP)
My software has been developed in VB6 over 20 years and still usually runs fine in all Windows platforms.

Recently the software has suffered number format problems on wide format screens in particular, even though the presented screen is not full size.

The problem is that the font size, which is nearly always 8 seems to be dropped and defaults to 11 or 12, consequently screen text and number blocks over-run and cannot be read. If I go into the source and simply re-specify '8' for example it appears correctly at the next compile.

Is there a known fix for this ? Do I have to re-specify all my alphas and numeric screen fields ? Possibly a global one-liner ?
Any help much appreciated.

Regards,
Ian

RE: My software has been developed in V

The change is likely due to users having varied font sizes defined in the Windows Control Panel. As newer monitors typically have a higher dot pitch, users increase the size of text to be more readable.

https://support.microsoft.com/en-us/help/4028566/w...

My employer uses an old program like this that does not only suffer from resized text. Some controls (buttons, checkboxes) might also be shifted outside of the form. We'd fix it if we still had the source...so instead we just tell our users to keep text displayed in the system at 100%.

RE: My software has been developed in V

Improving the high-DPI experience in GDI based Desktop Apps

Quote:

It would be great if everything could just be updated, but many popular applications were written before there was graphics API support for high DPI screens, and they do not have any native support for handling changes to scale. GDI Scaling is an effort to address this problem by transparently scaling graphics for the app.

For many applications GDI Scaling can handle the problem completely or at least well enough for old programs to be usable.

It can be specified via a manifest or the Compatibility tab of the EXE's Explorer Properties dialog. This became available in Windows 10 version 1703 so we've had it for about 2 years now.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close