473,465 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Maximize Window Size

How can I maximize the window size of a form when it loads?

Wayne
Nov 21 '05 #1
3 9052
Set the WindowState property of the form to 'Maximized'. You can do this
either from the properties window in the form designer or through code as:
ME.WindowState = FormWindowState.Maximized
Imran.

"Wayne Wengert" <wa***************@wengert.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
How can I maximize the window size of a form when it loads?

Wayne

Nov 21 '05 #2
Hi,

In the form load event
Me.WindowState = FormWindowState.Maximized

Ken

--------------------

"Wayne Wengert" <wa***************@wengert.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
How can I maximize the window size of a form when it loads?

Wayne

Nov 21 '05 #3
Thanks guys. That is exactly what I needed.

Wayne

"Wayne Wengert" <wa***************@wengert.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
How can I maximize the window size of a form when it loads?

Wayne

Nov 21 '05 #4

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

Similar topics

0
by: w.p. | last post by:
I use code below: 1) frame receive too many maximize events on create and on close child window - why? 2) how to catch key events for wxMDIParentFrame ? 3) childWin.SetSize() in OnMaximize send...
1
by: Sanjay Seshasainam | last post by:
How can I maximize a process window I am using the Process class in System.Diagnostics. I can identify the specific process I want using the window title after that I want to maximize the...
8
by: jrefactors | last post by:
I want to maximize the browser window when I open a new window. Now I do the following, but different monitor size will yield different width and height values. ...
1
by: BudhramM | last post by:
I have created a frameset which is my default page. I am using window.resizeto and window.move to size and position the window on the users screen, but I also need to disable the maximize button on...
7
by: Colleyville Alan | last post by:
I have an app that uses Access to grab various PowerPoint slides using the followhyperlink command. I have set the PPT window to run in a minimized state: FollowHyperlink link Set oPres =...
1
by: Brandon | last post by:
Hello there. I'm currently working on a moderately complex Visual C# windows application that I have run into a bit of a problem on. To start things off, the application has normally been run...
1
by: =?Utf-8?B?cmFuZHkxMjAw?= | last post by:
I have a Winform (Composite UI Application Block) application that works great. Users have discovered that double-clicking any window title bar in Microsoft Windows XP is the same as clicking the...
3
by: mrakesh84 | last post by:
How can I get the browser window to maximize on initial page load? Just to be clear, I mean specifically the kind of maximize that happens when you press the maximize button on the upper right hand...
4
by: Jassim Rahma | last post by:
how can I maximize the MDI child in the free MDI parent area not in the whole window.. I mean in the (whole window area - menubar - tool bar) so i want the MDi child to show its whole window and...
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
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,...
1
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.