Screen Resolution issue

6 posts, 0 answers
  1. Manohar
    Manohar avatar
    3 posts
    Member since:
    Sep 2012

    Posted 27 Sep 2012 Link to this post

    Hi Telerik Team,

    The RAD environment that you are providing is robust and very alive. I'm very much excited to see the  latest "INTEGRATION DEMO" tools that were incorporated in to your windows suite. That was amazing. And I was trying to use that(say DemoHub) in my product. There are some things  that seem to be improvised W.r.t to some parameters/factors.

    Let me put it below:

    **The screen resolution is different when run on different PC/Laptop.
    **I need to host my product in an uncontrolled environment where the resolution should be independent of the machine/hardware whatever you call.

    Hope you have already spotted out the issue, if I'm correct. Please reply ASAP. 

    Thanks in advance:-)

    --
    Regards,
    Manohar.G
  2. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 01 Oct 2012 Link to this post

    Hi Manohar,

    I am not sure that I understand the experienced issue. The DemoHub application can be resized or maximized in order to occupy the whole screen. All this is independent from the screen resolution. Could you please describe in detail your issue and we will be glad to help you with it.

    FYI, in our upcoming release we will introduce several fixes that allow using our controls on systems with custom DPI settings.

    I am looking forward to your reply.

    All the best,
    Jack
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  3. Manohar
    Manohar avatar
    3 posts
    Member since:
    Sep 2012

    Posted 01 Oct 2012 Link to this post

    Hi Jack,

    Nice to see your reply and thanks for your time.

    Alright! You almost got that. What you need to understand is that if it's run on a different machine (or) H/w (say a laptop). The appearance & size is different if the screen is changed . As I've requested, I need Windows kinda controls.

    E.g: The windows 7 desktop and the icon sizing
     remains the same irrespective of the screen resolution set by us and the type of the computer, right?

    Please find out this and let me  know how much time it would take for resolving such issues before we take a decision on the purchase. Thanks in advance:-)
    --
    Regards,
    Manohar.

  4. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 04 Oct 2012 Link to this post

    Hi Manohar,

    When changing the display resolution icons do not change their size, but they change their physical dimensions on the screen. That happens because the DPI (dots per inch) is changing. You can compensate this by using different DPI settings. This is the way how Windows Forms controls and our controls in particular work to compensate the issue.

    You can use the following steps in order to customize your DPI settings:

    1. While on your desktop, click the right mouse button.
    2. Choose the Display option from the Sell also list.
    3. Choose the Set custom text size (DPI) option.
    4. Choose the desired option and uncheck the Use Windows XP style DPI scaling for best result.
    5. Click OK.

    I hope this helps.
     
    Kind regards,
    Jack
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  5. Manohar
    Manohar avatar
    3 posts
    Member since:
    Sep 2012

    Posted 04 Oct 2012 Link to this post

    Hey Jack,

    Hope you had a great day.

    I told you in my first writing itself that the hosting environment would be uncontrolled, means, imagine a green horn(novice) customer working on the product, and then tell me the possibilities of the solution please. Can you please let me know wether this can be in-built to your RAD environment?

    Please feel free to reply.

    Thanks & good luck:-)

    FYI:
    Please catch me in the next new forum thread. Looking forward for your assistance.

    --
    Regards,
    Manohar.
  6. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 08 Oct 2012 Link to this post

    Hi Manohar,

    I understand your concerns, however there is no ready solution for this scenario. You could try calling the Form.Scale method when the resolution is higher. This way all controls on the form will be scaled with the specified factor and they will eventually become larger. Consider the following sample code:
    Rectangle resolution = Screen.PrimaryScreen.Bounds;
    if (resolution.Height > 1000)
    {
        this.Scale(new SizeF(1.5f, 1.5f));
    }

    I hope it helps.
     
    Regards,
    Jack
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Back to Top