Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / October 2007

Tip: Looking for answers? Try searching our database.

mdi maximized child mainmenu bug

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joe - 12 Mar 2007 22:33 GMT
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
Joe - 12 Mar 2007 22:35 GMT
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

> Can anyone tell me if this is a confimed bug and if there is a workaround:
>
[quoted text clipped - 16 lines]
>
> joe
sdoc - 09 Oct 2007 15:16 GMT
i am having this same issue you mentioned.
did you ever figure it out?
VJ - 12 Mar 2007 23:35 GMT
Your child form has no menu and or tool strips?. I tried , it seemed to work
ok. Can I have the demo project?

VJ

> Can anyone tell me if this is a confimed bug and if there is a workaround:
>
[quoted text clipped - 19 lines]
>
> joe

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.