473,396 Members | 2,009 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,396 software developers and data experts.

Adusting form size to screen size

Hi,
I guess this should be an easy one (and yet..)
How do I adjust my form's size to the screen upon which it
is displayed(programmatically ,of course).
Thanks,
Sagiv
Nov 15 '05 #1
2 1504
Sagiv,

Take a look at the class SystemInformation.
SystemInformation.MaxWindowTrackSize should help you as a starting point.

Regards,
Alex
"Sagiv" <sa*****@hotmail.com> wrote in message
news:57****************************@phx.gbl...
Hi,
I guess this should be an easy one (and yet..)
How do I adjust my form's size to the screen upon which it
is displayed(programmatically ,of course).
Thanks,
Sagiv

Nov 15 '05 #2
Thanks Alex - I got what I've asdek for.
Sagiv
-----Original Message-----
Sagiv,

Take a look at the class SystemInformation.
SystemInformation.MaxWindowTrackSize should help you as a starting point.
Regards,
Alex
"Sagiv" <sa*****@hotmail.com> wrote in message
news:57****************************@phx.gbl...
Hi,
I guess this should be an easy one (and yet..)
How do I adjust my form's size to the screen upon which it is displayed(programmatically ,of course).
Thanks,
Sagiv

.

Nov 15 '05 #3

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

Similar topics

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...
9
by: Rajat Tandon | last post by:
Hello there, I am relatively new to the newsgroups and C#. I have never been disappointed with the groups and always got the prompt replies to my queries.This is yet another strange issue, I am...
2
by: steve bull | last post by:
I would like my application to display the main form to cover the whole screen. At present I do this by calling Screen screen = Screen.PrimaryScreen; and setting the form size to this. The...
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...
3
by: MG | last post by:
It appears that VS.NET limits the size of a web form to the size of your screen based on the resolution of the machine it's running on. Is there a way to make the size of a web form larger than the...
9
by: Gidi | last post by:
I've created a program in C#, which includes several Forms. some of the forms are in different size, but i start all of them in Window Normal Size. I took the exe file from the \bin\debug library...
14
by: Galen Somerville | last post by:
My current screen resolution is set to 1024 x 768. My form size always comes up as 1032 x 748. I have tried the help sample ' Retrieve the working rectangle from the Screen class ' using the...
6
by: John | last post by:
Hi I am just wondering what should be the size of forms these days for a winform app to cover general user population, 800x600 or larger? Thanks Regards
2
by: Lennart Nielsen | last post by:
I'm writing an application for a specific screen size for a project. It works fine on my desktop at work, but when I try to tele-commute via VPN & Remote Descktop I can only access part of the...
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
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
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,...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.