|
-
Jun 22nd, 2002, 04:37 AM
#1
Thread Starter
Junior Member
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!
-
Jun 22nd, 2002, 05:08 AM
#2
Thread Starter
Junior Member
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
-
Jun 22nd, 2002, 05:12 AM
#3
Hyperactive Member
--- 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
-
Jun 22nd, 2002, 08:50 PM
#4
Lively Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|