473,834 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Maximized MDI childforms.... Anyone?

A while ago I posted a question on how to load MDI child forms maximized
(WindowState=Ma ximized). When I do this they always load in a sort of
in-between state and only when I resize the MDI container they take their
proper state.

Did anyone manage to do this in VB2005? If so, I'd love to hear how....

Tia,
Martin
Jan 20 '06 #1
3 1177
Hi Martin,

I have written an MDI app recently with VB2005, and I don't experience any
problem if I set WindowState.Max imized for the child forms, they open up
fully Maximized as expected. So I don't think it's a problem with VB2005 per
se.

HTH.
"Martin" <x@y.com> wrote in message
news:Oh******** *****@TK2MSFTNG P12.phx.gbl...
A while ago I posted a question on how to load MDI child forms maximized
(WindowState=M aximized). When I do this they always load in a sort of
in-between state and only when I resize the MDI container they take their
proper state.

Did anyone manage to do this in VB2005? If so, I'd love to hear how....

Tia,
Martin

Jan 20 '06 #2
I had this same problem.

Try setting the child form's AutoScaleMode to Inherit.

God Bless
David

"Martin" wrote:
A while ago I posted a question on how to load MDI child forms maximized
(WindowState=Ma ximized). When I do this they always load in a sort of
in-between state and only when I resize the MDI container they take their
proper state.

Did anyone manage to do this in VB2005? If so, I'd love to hear how....

Tia,
Martin

Jan 20 '06 #3
Thanks for your response. Unfortunately that didn't help either. Now I set
in the form_load event the property to maximized and that helps. A bit
weird, since that property was already set to maximized at design time...
But I guess that is one of the small inconsistancies we have to learn to
live with....

Martin

"David" <Da***@discussi ons.microsoft.c om> wrote in message
news:24******** *************** ***********@mic rosoft.com...
I had this same problem.

Try setting the child form's AutoScaleMode to Inherit.

God Bless
David

"Martin" wrote:
A while ago I posted a question on how to load MDI child forms maximized
(WindowState=Ma ximized). When I do this they always load in a sort of
in-between state and only when I resize the MDI container they take their
proper state.

Did anyone manage to do this in VB2005? If so, I'd love to hear how....

Tia,
Martin

Jan 21 '06 #4

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

Similar topics

0
1147
by: Geir Holme | last post by:
Hi all. We do have a little anoying problem with forms and FormBorderStyle.Maximized. We opens Form1 with FormBorderstyle = FixedDialog. We hides it and opens Form2 with FormBorderStyle = Maximized. When we close Form2 and do a Show on Form1 Form1 hase FormBorderStyle = Maximized. All forms opens in a MDI environment. Can anyone explain this to me. We want Form1 to opens as it is hidden.
3
3816
by: Bob | last post by:
I am trying to create a popup page (to act as a menu) from a parent page. When the parent page (index.jsp) calls my popup function (see below) it will properly open the correct size browser window only if the browser that index.jsp is opened in is NOT maximized. If index.jsp is maximized and then I click on the test link that fires off the openMain function, the browser that is opened for the popup is also maximized. function...
2
1386
by: jeffgeorge | last post by:
I've been trying everything between setting a bunch of different form properties and saving the form as it's maximized and I am not able to save the form so each time it opens, it is maximized. Does anyone have insight into how this is done or if there are limitations to saving in this manner. The best I've been able to do is to open the form, goto Windows-Fit Form to Window and then save which opens the form close to being maximized. ...
2
1481
by: andreas | last post by:
Hi, How to minimize with code all de childforms in the parentform. I want to put a menuitem with text "MInimize all" in a parent form to minimize all the child forms in the parent form at once. How to code ?
1
2189
by: 1388-2/HB | last post by:
For vb2005. At design time I set the main form's WindoState to Maximized and I disabled the Maximize box. The user can Minimize the application only. When the program launches, the form is indeed Maximized. However: 1. The Maximized state of my form does not take the Windows taskbar state into consideration. The form behaves as if the user has their taskbar set to "autohide", even if they do not. The app extends all the way down...
4
10158
by: jeremiah johnson | last post by:
Hi all. I'm writing a small utility that can move a window from one of my monitors to the other, when a system hotkey is pressed. I want to keep the windowstate (maximized or normal) when the window is moved, but I need to know the windowstate in order to move it properly. I'm using some P/Invoke calls to get the window handles and the window placement, which all works well, but I can't find a way to determine if a window is...
3
6330
by: Tom | last post by:
I am having a serious issue with my MDI child windows. This is with a large VB.NET application that I ported over to VS 2005 from VS 2003. The problem is that, if the child window is maximized and then closed, it produces the following error message: Cannot access a disposed object Object name:'icon' in source System.Drawing And then the whole system crashes. Again, this ONLY occurs if the MDI child window is maximized within the MDI...
3
2220
by: =?Utf-8?B?Sm9l?= | last post by:
Can anyone tell me if this is a confimed bug and if there is a workaround: - Create an form set as an mdi container - Add a Menustrip to mdi container and set form's MainMenuStrip property to newly created menu - Create mdi child form and set it's window state to Maximized When you run the project and open the child form, the menus are merged properly, but the form appears the same size as it does at design time (rather than...
4
1762
nev
by: nev | last post by:
how to code this? i don't wanna check each childforms if they are visible or not. i tried... if mdiparent.hasopenchildforms then msgbox("childform/s open") end if of course this will not work because there is no method like that.
0
9651
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10800
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10516
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10225
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7762
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6960
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5629
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4429
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 we have to send another system
3
3085
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.