Screen.width does not match the width of my DELL INSPIRON 1300 after waking up from system standby / hibernate. Why?
Posted on 2006-07-14
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