Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Screen getting truncated on laptop

Hi all,

I've just started programming in VB.net and am new to this forum. I've created a main screen for an application with several buttons, and grids.
I set the appropriate anchoring and everything works fine on me and my tester's PC monitor. I can resize the forms and use different resolutions.
However, when I run on my bosses Dell laptop, the right hand side and bottom of the screen are missing. No matter what I change the resolution to you can never see everything.
Has someone ever come across this issue before?

Any help would be much appreciated,
Dave
[612 byte] By [daveryan78] at [2007-11-11 8:14:16]
# 1 Re: Screen getting truncated on laptop
What screen resolution are you designing for?

And what is the native screen resolution of the laptop?
edburdo at 2007-11-11 21:47:54 >
# 2 Re: Screen getting truncated on laptop
Hi Edburdo,

The size of my form is 800 x 516. The resolution on the laptop is 1680 x 1050.
I have now found that if I set the WindowState to Normal the truncation doesn't happen. It was only when I had the WindowState at Maximised I had the problems.
I would still like to get it working at a Maximised WindowState.

Thanks for your interest,
Dave
daveryan78 at 2007-11-11 21:48:49 >
# 3 Re: Screen getting truncated on laptop
I'm guessing that the laptop is set to a higher DPI setting than the other machines. If that's the case, I'm not sure how you should handle it; perhaps design the form on a system with high DPI, or adjust the positions of controls based on the DPI setting.

Can you post a simple project that demonstrates the problem?
Phil Weber at 2007-11-11 21:49:53 >