473,508 Members | 3,343 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

mdi maximized child mainmenu bug

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 maximized) and the child form's maximize button appears to be in
the restore state.
Click to restore, and you're back to a correct state. click again and form
is maximized properly.

Any ideas?

I have a demo project built to demonstrate.
Thanks

joe

Mar 12 '07 #1
3 2189
Forgot to mention, after all this, if you set mdi parent form's MainMenuStrip
property back to (none), then child form maximizes correctly when opened.
Thanks

joe

"Joe" wrote:
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 maximized) and the child form's maximize button appears to be in
the restore state.
Click to restore, and you're back to a correct state. click again and form
is maximized properly.

Any ideas?

I have a demo project built to demonstrate.
Thanks

joe
Mar 12 '07 #2
VJ
Your child form has no menu and or tool strips?. I tried , it seemed to work
ok. Can I have the demo project?

VJ

"Joe" <joe.klecha-AT-digeratisolutions-DOT-netwrote in message
news:71**********************************@microsof t.com...
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 maximized) and the child form's maximize button appears to be
in
the restore state.
Click to restore, and you're back to a correct state. click again and
form
is maximized properly.

Any ideas?

I have a demo project built to demonstrate.
Thanks

joe

Mar 12 '07 #3
i am having this same issue you mentioned.
did you ever figure it out?
Oct 9 '07 #4

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

Similar topics

3
3933
by: Omar Llanos | last post by:
I have Form1 and Form2 (which is inherited from Form1), and I created a button in Form2 that will fill up a textbox in Form1. What code would do that? I tried the simplest way: //from child...
4
2489
by: Sean Connery | last post by:
I know I can merge a child forms menu into the MDI parent's mainmenu, but I would also like to listen for common events fired from the mainmenu that might be of interest to any child forms. Is...
3
5577
by: PK | last post by:
Hi, I've a MDI form and a child form that comes from a dll. Everything works fine until I had to uncheck or check a menu item in the MDI form based on the changes in the child form. How to acheive...
3
9672
by: Maheshkumar.R | last post by:
Hi groups, How i can command over the MDI CHIlD forms created dynamically at runtime from PARENT. Let say, i have generated 5 mdichild forms, but i want to work with child form1 from MDI...
1
1114
by: Piotr Rendaszka | last post by:
Hi, I do have this problem: While having an open MDI Parent form I am opening one MDI Child form that I am maximizing. The next child I open (even an instance of different MDI Child form) is...
4
10970
by: Steve Barnett | last post by:
I've created a simple MDI application and have designated the Window menu to keep track of the mdi children. When I first load an mdi child, it's caption consists of "File: no file loaded" and this...
1
2991
by: Martin | last post by:
VB2005 / XP SP2 Hi all, I'm just a newbie in VB.Net and I created an MDI container form, with a menu and when I choose something from the menu, it should load the MDI child form maximized. ...
3
1166
by: Martin | last post by:
A while ago I posted a question on how to load MDI child forms maximized (WindowState=Maximized). When I do this they always load in a sort of in-between state and only when I resize the MDI...
3
6313
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...
0
7129
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...
1
7061
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
5637
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,...
1
5057
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
4716
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
3208
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
3194
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1566
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 ...
0
428
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...

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.