• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • Last Modified:

Screen.width does not match the width of my DELL INSPIRON 1300 after waking up from system standby / hibernate. Why?

I have always used screen.width and screen.height to set the size of frames within maximised forms within my application. Until now the application has worked well on various DELL and Panasonic laptops. However, DELL have recently changed their entry spec Inspiron laptops which are now fitted with widescreen as standard. On the new laptops my forms and frames are correctly maximised and the correct size when the application is first run. When the system wakes up from hibernation the form is still correctly maximised, however the frame within is much smaller because screen.width is much less than it should be (equal to screen.height - coincidentally? - and more like the width of the old DELL Inspiron standard screen). What's going on here? Big thanks
  • 2
1 Solution
Screen streatching is done by the display drivers (which is why the windows boot sceen is still square on many widescreen laptops)

However, A few api calls may you the correct values:
SINCOAuthor Commented:
That's too complicated for me! I think I'll just download the latest display drivers and hope for the best.
Give it a try but your problem results from native vb functions not being compatable with the whole widescreen concept...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now