|
-
Mar 16th, 2009, 04:25 AM
#1
Thread Starter
PowerPoster
change resolution screen
I dont know if is possible...:-)
with classic vb 6.0...
Is possible to intercept the resolution screen of PC where my project run?
If yes how to change the resultion in 1024*768 if the actual resolution of PC is different of 1024*768?
-
Mar 16th, 2009, 04:57 AM
#2
Re: change resolution screen
This one of those questions that pops up every now and then.
Yes, it is possible to change the screen resolution (ChangeDisplaySettings API if I remember) but in the same breath it must rate as one of the most annoying things you can force on your client. Remember most people have their screen resolution adjusted to just how they like it.
Much better IMHO to use a dynamic form that can adjust itself to best fit the clients screen.
You can find out more in this FAQ
-
Mar 16th, 2009, 05:23 AM
#3
Thread Starter
PowerPoster
Re: change resolution screen
 Originally Posted by Milk
This one of those questions that pops up every now and then.
Yes, it is possible to change the screen resolution (ChangeDisplaySettings API if I remember) but in the same breath it must rate as one of the most annoying things you can force on your client. Remember most people have their screen resolution adjusted to just how they like it.
Much better IMHO to use a dynamic form that can adjust itself to best fit the clients screen.
You can find out more in this FAQ
ok. tks for suggestion and lionk.
But really my question is:
I have maked a project with many form an tested on my PC with 1024*768 and i like that (i think is very profesional this resolution;.-))
Now my dubt is....
Possible to maintain the resolution of all form indepent the other PC have different of 1024*768
For example the user have 800*600 i want to show my all form in 1024*768 and maintain the 800*600 screen resolution.
Sorry for my vterrible english but i hope understand me, or not?
-
Mar 16th, 2009, 06:52 AM
#4
Re: change resolution screen
I would strongly strongly suggest you leave the users screen resolution alone.
I would find it annoying beyond all definition of annoying if an application changed my screen resolution on me.
In fact, I would find it so annoying that I would never use that application again.
 Originally Posted by luca90
For example the user have 800*600 i want to show my all form in 1024*768 and maintain the 800*600 screen resolution.
You can't do that...the screen will be one or the other, but it can't be both at the same time.
-
Mar 16th, 2009, 07:06 AM
#5
Re: change resolution screen
Okay. A solution might be to add scroll bars to your form(s), these could scroll the controls. Depending how you do this it might well make the form look less 'professional'.
Personally I tend to try to make all my forms work in 800x600. If this does not provide enough room then I'll use a Tab control or some such and spread the controls over a few frames.
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
|