473,387 Members | 3,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

90-120dpi Changes messing with Picture Box

I have a picture box set to pixels 640x480 on a form.
Autoresize is false
The picture inside is 640x480px.

If a user has their Display DPI settings set to 96dpi,
the form and picture box looks fine.

But if a user has their DPI set to 120dpi, the form
grew very large, and the background picture is the only
thing not streched out, leaving a large space between the
image bottem and right edge of the picture box.

How would I fix this in VB6?

Jul 17 '05 #1
1 2806
> I have a picture box set to pixels 640x480 on a form.
Autoresize is false
The picture inside is 640x480px.

If a user has their Display DPI settings set to 96dpi,
the form and picture box looks fine.

But if a user has their DPI set to 120dpi, the form
grew very large, and the background picture is the only
thing not streched out, leaving a large space between the
image bottem and right edge of the picture box.

How would I fix this in VB6?


This has been discussed before... you should be able to Google search on
"large fonts" and words to that effect to bring up discussions on what
others do. However, you might ask your users (who are using large fonts) to
read this link...

http://www.divsoft.com/lfs/

Rick - MVP
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Justice | last post by:
Just moved site to different web server. Previously no problems. Now, the script will time out after 90 minutes. I've set set_time_limit(0) but no effect. Any ideas? John
11
by: Dario (drinking coffee in the office…) | last post by:
The following program int main(){printf("%.2f\n", 90.625);} what it must print out? I try it on several compiler/operating system and I obtaing different results. On some compilers it...
5
by: Patrick De Ridder | last post by:
How can I turn what I want to print 90 degrees using the logic below? Please tell me the code with which to make the modification. Many thanks, Patrick. using System.ComponentModel; using...
7
by: Bindul Bhowmik | last post by:
I am in a project and have to find out the value of cos of an angle. The user will input the value of the angle only in degrees. I am using the following expression to get the radian equivalent of...
2
by: yawnmoth | last post by:
Obviously, "\9" equals chr(9), but what would equal chr(90)? "\90" doesn't. Rather, "\90" seems to be equal to chr(9).chr(0). So what could I do to get chr(90) using escaped numbers?
3
by: Joe | last post by:
I am developing a Pocket PC application using eMbedded Visual C++ 4.0. Microsoft has Visual Studio 2005 Professional 90-Day Trial available that I would like to look into, but their website does...
7
by: Phlip | last post by:
HTMLers: Start with this simple HTML: <table border='1' width='100%' height='90%'> <tr><td> <div style='overflow: auto'> </div> </td></tr> </table>
2
by: Morgan Cheng | last post by:
I have one webservice A calling another webserivce B. B is time costing and sometimes the response takes more than 160 seconds. A is supposed to be Thread.Abort in 90 seconds. However, the 90...
3
by: clintonG | last post by:
Microsoft Charging $90 for .NET Undermines Huge Market Compelling The Use of Linux! Anybody with eyes sight can see "digital signage" emerging as a "display device platform" and a HUGE...
4
by: AAaron123 | last post by:
<body runat="server" id="MainBody"> <form id="form1" runat="server" style="background-color:green; width: 100%; height: 100%"> <br /> Table1" runat="server" Style="background-color:Yellow;...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.