Results 1 to 4 of 4

Thread: Placing pictures on a form at different resolutions

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2002
    Posts
    16

    Lightbulb Placing pictures on a form at different resolutions

    I'm quite new to this so bare with me if this sounds stupid to you. I'm working on an application and didn't like the standard VB look so decided to draw and position my own pictures instead of using the gray controls that come standard to visual basic.

    I have produced a form with three picture boxes to hold the background images, several puicture boxes to use instead of comman buttons and arranged it so all the boxes align properly. I then used Photoshop to produce the images at 72 DPI and arranged them so the pictures all aligned in visual basic and looked like a continuous interface.

    Right, thats where I thought my job ended. However, I've just loaded my program onto another machine and the pictures no longer align but appear smaller within the boxes. I assumed that with a change in resolution the pictures and controls would change by the same amount and this would not be a problem but I am obviously wrong. It appears as if the pictures have shrunk more than the controls!

    Firstly is there any way round this and if not how are pictures ever aligned properly through Visual Basic when using computers with different resolutions.

    Secondly, I just changed my resolution on this machine between 1024*768 and 800*600 and the pictures didn't seem to shift within the boxes. That being the case why did they move between my machine at work that was running on a higher resoltuion (Not sure of what that was at the moment).

    This is quite frustrating as I've just spent many hours completing the GFX for the form to find I can't use them. Any information would be greately appreciated as I feel about ready to give up on this now!

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Mar 2002
    Posts
    16
    I remembered reading something some time ago about a problem with using large fonts in Windows. Upon checking my settings I realised I'd inadvertaintly got my computer set to use large fonts and upon setting them to small all the graphics alignment problems seem to be sorted!

    Anyone know whay this is? Does this mean that when I release my program I need to make sure everyone is using small fonts or is there a safer way round it??

    Cheers, Tim

  3. #3
    Hyperactive Member
    Join Date
    Aug 1999
    Posts
    482
    --- Edit -- Didn't realize your second post fixed it.

    Hmm.. It shouldn't matter too much, because not many people change their font settings.. not sure what to say about that, really

  4. #4
    Lively Member wazup guys's Avatar
    Join Date
    Apr 2001
    Location
    in a compressed datastream on the web
    Posts
    114
    all i can say is when you release you game either put a troubleshooting document or a add a some code to the game that checks to make shur that the fonts r large (i wouldn't know how to do this) and if there tells the user to change the settings and closes the program.
    wahuah

    talk to me about macromedia flash mx, Visual Basic, Vbscript, Html

    [email protected]
    [email protected]
    [email protected]

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