Results 1 to 5 of 5

Thread: change resolution screen

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Posts
    2,941

    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?

  2. #2
    Cumbrian Milk's Avatar
    Join Date
    Jan 2007
    Location
    0xDEADBEEF
    Posts
    2,448

    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

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Posts
    2,941

    Re: change resolution screen

    Quote 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?

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.
    Quote 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.

  5. #5
    Cumbrian Milk's Avatar
    Join Date
    Jan 2007
    Location
    0xDEADBEEF
    Posts
    2,448

    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
  •  



Click Here to Expand Forum to Full Width