Windows 10 per monitor DPI

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37275
    Stephane Senecal
    Participant

    In Windows 10, the DPI can be specified per monitor.

    Delphi 10.1 Berlin supports this feature when Scaled property is Active on the form.

    In the documentation of AlphaSkins, it is said that we should set the property Scaled to False.

    Of course, now it doesn't scale anymore when I move the form from one monitor to another.

    I check for the message WM_DPICHANGED. When I receive the message, I change sSkinManager.Options.ScaleMode, but this changes the DPI for all forms and not only the form that changed monitor.

    Is it possible to scale per forms with AlphaSkins or it's not implemented yet?

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #56008
    mol
    Participant

    Stephane,

    use a manifest to make your application DPI aware: http://stackoverflow.com/search?q=%5Bdelphi%5D+dpi+aware+manifest

    -Uwe

    #56015
    Support
    Keymaster

    Hello

    Scaling per forms is not supported currently (all forms has common scaling mode), I will think how to implement it better.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.