Results 1 to 2 of 2

Thread: DPI issue

  1. #1

    Thread Starter
    PowerPoster i00's Avatar
    Join Date
    Mar 2002
    Location
    1/2 way accross the galaxy.. and then some
    Posts
    2,388

    DPI issue

    Hi ... If the user is not using the standard windows dpi in my windows forms application and I then go:

    vb Code:
    1. Dim Blur As New System.Windows.Media.Effects.BlurEffect()

    The app will then switch to 96 DPI rather than using the standard windows dpi...

    To test this:

    Make sure DPI is not 100%, right click desktop, select resolution, click make text and other items larger or smaller; then make sure the slider is on something other than 100% (you will need to log off if you change this).
    Upon logging back on create a new project with a button on, add references to PresentationCore and WindowsBase
    Put the line specified at the top of this post on your button click event ...
    Run the project and click the button and the application is then scaled to 100% DPI regardless of what you have your windows set to.

    Any ideas on how to stop this from happening?

    Thanks,
    Kris

  2. #2

    Thread Starter
    PowerPoster i00's Avatar
    Join Date
    Mar 2002
    Location
    1/2 way accross the galaxy.. and then some
    Posts
    2,388

    Re: DPI issue

    *shameful bump

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