Results 1 to 40 of 43

Thread: Charts controls with GDI+

Hybrid View

  1. #1
    PowerPoster
    Join Date
    Jun 2012
    Posts
    2,734

    Re: Charts controls with GDI+

    Quote Originally Posted by DaveDavis View Post
    it's incredible.
    I tested PerMonitorV2 at 175% Scale, The graphics are clean and Tool-tips are showing at right position (not the best position at below mouse pointer). Just the ClsResizer may have some problem.
    I don't understand your PerMonitorV2. For me the graphic is scaled like before. (comparing the graphic of your Form2 with the one of LeandroA)

  2. #2
    Fanatic Member
    Join Date
    Aug 2016
    Posts
    609

    Re: Charts controls with GDI+

    Quote Originally Posted by Krool View Post
    I don't understand your PerMonitorV2. For me the graphic is scaled like before. (comparing the graphic of your Form2 with the one of LeandroA)
    Three charts at bottom are not showing entirely.

  3. #3
    PowerPoster
    Join Date
    Jun 2012
    Posts
    2,734

    Re: Charts controls with GDI+

    Quote Originally Posted by DaveDavis View Post
    Three charts at bottom are not showing entirely.
    I did not mean that. The form (non-client) is automatically scaled by the OS. If the DPI changed the size and font and graphics needs to draw "bigger" or "smaller" as per current monitor. And that's not the case..

    It would be better you do not use PerMonitorV2 and just use system DPI awareness. That's already a small challenge to properly handle that.

    If you then move to another screen with DPI change let the OS bitmap stretch your Form. So it looks correctly sized though a bit blurry.. but better than nothing.

    I propose you read LaVolpe tutorial: https://www.vbforums.com/showthread....eing-DPI-Aware
    Last edited by Krool; Sep 3rd, 2020 at 01:14 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width