We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

MDI menu merge with tabbed MDI manager

Thread ID:

Created:

Updated:

Platform:

Replies:

10317 Jan 29,2004 05:52 AM Jan 30,2004 07:26 AM Windows Forms 3
loading
Tags: Tools
Bruce Davis
Asked On January 29, 2004 05:52 AM

[Using 1.6.1.8.] I have an application that displays MDI forms in the tabbed MDI manager. I want to be able to merge the menus of the active MDI child with the main menu. I would prefer to use auto-merging since the types of my child documents aren''t known ahead of time. In one of my child forms, I have created a ChildFrameBarManager, a menu Bar, and a couple of BarItems as a simple test. When my app loads, it loads this child form by default and the child menu is automagically merged with the parent menu. After I close the child form (leaving the MDI manager blank), the main menu reverts to its base state as I would expect. However, the next time I click on a leaf menu item or a toolbar button the program crashes with an access violation (something is trying to read memory at location 0x00000000). My event handler on the BarItem is not being called. I have experiemented with this failure case and have noticed that if the child form merely defines a ChildFrameBarManager with no menu bars or bar items, I can get the same crash after the child window is closed. I feel that I must be missing a simple initialization or configuration step, but neither the sample app nor the docs are helping me determine what it is. Has anyone else seen this type of behavior? Thanks, BRU

Administrator [Syncfusion]
Replied On January 29, 2004 03:58 PM

Hi Bruce, Yes we were able to reproduce the problem when closing a child MDI form with a ChildFrameBarManager with no items. We are looking into this issue and I will update this posting as soon as more information becomes available. Regards Arun

Bruce Davis
Replied On January 30, 2004 06:01 AM

Did you see the same failure when the child menu was populated? Naturally, I''m more interested in that case... :-)

Administrator [Syncfusion]
Replied On January 30, 2004 07:26 AM

Hi Bruce, Sorry, It looks like I jumped the gun here as the sample I was testing had some other stuff going on. I am unable to reproduce either of the problems you reported using this sample we created. Can you modify this sample to reproduce the problems? Can you upload this modified sample to Direct Trac by creating a Support Incident? Thanks for your cooperation on this issue. Regards Arun

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;