90-120dpi Changes messing with Picture Box

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • C. Alexander

    #1

    90-120dpi Changes messing with Picture Box

    I have a picture box set to pixels 640x480 on a form.
    Autoresize is false
    The picture inside is 640x480px.

    If a user has their Display DPI settings set to 96dpi,
    the form and picture box looks fine.

    But if a user has their DPI set to 120dpi, the form
    grew very large, and the background picture is the only
    thing not streched out, leaving a large space between the
    image bottem and right edge of the picture box.

    How would I fix this in VB6?



  • Rick Rothstein

    #2
    Re: 90-120dpi Changes messing with Picture Box

    > I have a picture box set to pixels 640x480 on a form.[color=blue]
    > Autoresize is false
    > The picture inside is 640x480px.
    >
    > If a user has their Display DPI settings set to 96dpi,
    > the form and picture box looks fine.
    >
    > But if a user has their DPI set to 120dpi, the form
    > grew very large, and the background picture is the only
    > thing not streched out, leaving a large space between the
    > image bottem and right edge of the picture box.
    >
    > How would I fix this in VB6?[/color]

    This has been discussed before... you should be able to Google search on
    "large fonts" and words to that effect to bring up discussions on what
    others do. However, you might ask your users (who are using large fonts) to
    read this link...



    Rick - MVP


    Comment

    Working...