473,395 Members | 1,738 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,395 software developers and data experts.

Prevent form from resizing when system font DPI is changed?

I'm maintaining an internal tool within my organization. Some of my users
have resized their system font size by changing the DPI setting from 96DPI
to 120DPI (by right-clicking the desktop and selecting
Properties|Settings|Advanced|General).

My problem is this: my splash screen form gets resized after the user
performs this action, and as a consequence it looks "funny": the image
remains the same size but the form is wider, so parts of the form are
exposed instead of being covered by the splash image. How can I tell .NET
that I don't want the form's size to ever be changed regardless of the
system font DPI?
Cheers, Jon
Nov 17 '05 #1
1 2619
Jon,
Have you tried changing the Form.AutoScale property when you are designing
your form?

Hope this helps
Jay

"Jon Pope" <jo******@healthlinkinc.com> wrote in message
news:%2*****************@TK2MSFTNGP09.phx.gbl...
| I'm maintaining an internal tool within my organization. Some of my users
| have resized their system font size by changing the DPI setting from 96DPI
| to 120DPI (by right-clicking the desktop and selecting
| Properties|Settings|Advanced|General).
|
| My problem is this: my splash screen form gets resized after the user
| performs this action, and as a consequence it looks "funny": the image
| remains the same size but the form is wider, so parts of the form are
| exposed instead of being covered by the splash image. How can I tell .NET
| that I don't want the form's size to ever be changed regardless of the
| system font DPI?
|
|
| Cheers, Jon
|
|
Nov 17 '05 #2

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

Similar topics

20
by: Griff | last post by:
Hi there I'm after some suggestions as to how one might best separate form and content in a normal run-of-the-mill web application. I'm sure whole bookshelves have been written on this, but I...
86
by: Michael Kalina | last post by:
Because when I asked for comments on my site-design (Remember? My site, your opinion!) some of you told me never to change anything on font-sizes! What do you guys think of that:...
1
by: Aravind | last post by:
Hi folks. I have a form that has a form header and form footer, which has a few command buttons. When I open the form, I have to scroll the form from left to right to view my data. The thing is,...
11
by: Jozef | last post by:
I have some old code that I use from the Access 95 Developers handbook. The code works very well, with the exception that it doesn't seem to recognize wide screens, and sizes tab controls so that...
6
by: John Bowman | last post by:
Hi All, I must be missing something really obvious, so I'd appreciate someone helping me out. I have a simple Windows form that currently only has a title bar (aka the Text Property is set) and...
0
by: 23s | last post by:
Is there any way I can send a vertical value to a form's scroll position? I have a full-screen form that, at launch, contains an empty tab sheet. At run time, the user can dynamically append a...
6
by: JDeats | last post by:
I have a WinForms based application written for the .NET Framework 2.0 and in this application I need to be able to be able to take some action in code when the user finishes resizing the form. ...
4
by: since | last post by:
How do I in IE prevent the onclick action from being fired when I am done dragging? have tried "window.event.cancelBubble = true", for onmouseup , onmousedown, and onmousemove handlers. The onclick...
2
Frinavale
by: Frinavale | last post by:
My client ran into a problem with her system. Someone changed a setting on the computer (she saw him hitting the ok button) and then suddenly text resizing in all applications started to act...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.