Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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
6
Medium Priority
?
329 Views
Last Modified: 2010-04-30
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
0
Comment
Question by:SINCO
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 9

Accepted Solution

by:
justchat_1 earned 2000 total points
ID: 17117806
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:
http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_21643972.html?query=widescreen&topics=93
0
 

Author Comment

by:SINCO
ID: 17121889
That's too complicated for me! I think I'll just download the latest display drivers and hope for the best.
0
 
LVL 9

Expert Comment

by:justchat_1
ID: 17125991
Give it a try but your problem results from native vb functions not being compatable with the whole widescreen concept...
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question