Results 1 to 4 of 4

Thread: Display problems

  1. #1

    Thread Starter
    Hyperactive Member Blinky Bill's Avatar
    Join Date
    Mar 2002
    Location
    Happily munching on the greenery in your garden
    Posts
    349

    Display problems

    Hi,
    I have a problem with my application running on a 17" monitor. What is happening is that my application has a background image which is set to the max size of my app window. What i have done is set the window to fixed single so that it cannot be resized and made the window fit the exact image dimensions, so that the background fills the entire window. This is what happens on 7 of the 8 computers this app is installed on, but the 8th computer, the one with the 17" monitor (all the others have 14-15"), has the problem of the app window being larger than the background image, leaving the image filling only the top left corner and leaving the forms background colour to show in the app window. The real problem this causes is the image boxes i am using as full graphical buttons are not in the correct position as they are empty images placed over the background image locations they should be in. Has anyone had this problem before and got a solution to the problem??

    Thanx in advance

  2. #2
    Addicted Member drewski's Avatar
    Join Date
    Feb 2000
    Location
    WA
    Posts
    242
    I don't think your problem is the actual size of the computer monitor. I think it's the screen resolution that the monitor is on. The 17" monitor probably has higher resolution capablity so it displays more on the screen. You can use an ImageBox for your background pic and stretch it to fit the screen. Ofcourse you'll probably need to write code, though, to arrange the buttons at different resolutions. Another solution is, other than rearranging, is to change the user's screen resolution to match what you are developing it in. I can't give you code to do this though, sorry. You can find it in the forums or I think vbworld has a tutorial on it somewhere.

    Hope this helps.

  3. #3

    Thread Starter
    Hyperactive Member Blinky Bill's Avatar
    Join Date
    Mar 2002
    Location
    Happily munching on the greenery in your garden
    Posts
    349
    Hi,
    thanks for the tip, i didn't really think it was the size of the monitor itself. But regards the resizing of the app, to run properly, it has to be 1024x768 so i have used the source code from this site to resize the app to that already. This code works fine, and the problem isn't confined to a single app either, another app i developed (the installer for the main app) has the exact same problem.

    hope this helps someone help me,

    Thanks.

  4. #4
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540
    It's generally a bad idea to fix a program to one resolution btw, especially for an installer... that's just plain rude...
    Teaudirenopossum.Musasapientumfixaestinaure.
    (I can't hear you. There's a banana in my ear)

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