Results 1 to 5 of 5

Thread: Screen Resolution Problem

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2000
    Location
    Posts
    130

    Screen Resolution Problem

    Good day everybody...

    I have a bit of problem here, which I'm not sure whether my explaination is good enough.

    Well, I develop an ERP system which is used by various clients. Every clients PC may be using different screen resolution. As I fixed my screen resolution to 800 x 600, therefore when I run my program it won't produce any problem as I adjust the form's size according to my screen resolution. But, if client uses a different resolution, the form will enlarge or shrink. This make the form very 'ugly'. So, my question is, how do I make the size of the form adjusted correctly according to the screen resolution?

    Thanks in advanced...

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    A "form"? Is this a C++ or VB question?
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2000
    Location
    Posts
    130
    Sorry, it's a VC++ question.
    So, I guess I should write FormView(ChildFrm).

    Any help?

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Oh, it's an MFC question...

    Sorry, no idea
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You would probably query the current resolution and choose the positions of the controls according to these values.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

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