CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 1999
    Posts
    2

    Screen resolution problems...



    My question / problem is that when people are using windows, their resolution could range anywhere from 640X480 to 1280X1024. So when I program an ap, it will look perfect on my 1024X768, but on my friend's 640X480 they won't be able to see a thing.


    So what would u recommend? Size it all down so that those with big resolutions will suffer, or size it up? Or change the screen resolution automatically?


    If you have any suggestions, please help!


    GregS

  2. #2
    Join Date
    Jan 1999
    Posts
    3

    Re: Screen resolution problems...



    Tell your friend to upgrade his monitor / video card!


    IMHO : The best policy is to develop the application using

    a monitor resolution of 800x600 (which is pretty much below standard

    at this stage) and it'll look fine for the largest cross-section of users.

  3. #3
    Join Date
    Jan 1999
    Location
    Grenoble
    Posts
    101

    Re: Screen resolution problems...



    you can use ChangeDisplaySetting function to change the resolution screen at run time


    Sincerely Laurent




  4. #4
    Join Date
    Feb 1999
    Posts
    11

    Re: Screen resolution problems...



    You can also build the program at the resolution you most commonly work in.

    But use caution if is over 800 X 600. Since a lot of people still use the

    factory preset of 640 X 480 (thanks to MS).

    Then capture the users twips per pixel and write code to adjust the controls

    on the screen for 640 X 480 size, and either write code for each reolution (a lot of work),

    or use an ELSE statement for all other sizes.


    'Declarations:

    Dim swx, shy AS Integer


    'Form Load:

    swx = Screen.Width / Screen.TwipsPerPixelX

    shy = Screen.Height / Screen.TwipsPerPixelY

    If swx = 640 And shy = 480 Then

    '?? set TOP and LEFT control positions ??

    Else: '?? Set control positions ??

    End If


    You can also use an automatic control resizer program for about $50 to $100

    to resize anything about your design resolution, they don't work going down.

    Such as VideoSoft, or Olectra resizer.


    Russ



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

Featured