Re: Merge MDI child toolstrip button(s) into parent toolstrip

Brady Kelly <[email protected]> Mon, 5 Nov 2007 12:46:08 +0200
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <[email protected]>
What about actually finding out if the technique you mention actually does
lead to flicker?  Maybe it doesn't and you already have a solution.

> -----Original Message-----
> From: Discussion forum for developers using Windows Forms to build apps
> and controls [mailto:[email protected]] On Behalf Of
> Holly Styles
> Sent: 05 November 2007 12:13 PM
> To: [email protected]
> Subject: [DOTNET-WINFORMS] Merge MDI child toolstrip button(s) into
> parent toolstrip
>
> Hi All,
>
> I have the need to append/replace toolbar buttons in the MDI parent
> window
> of my application. For example my child form has a toolstrip object, on
> that
> toolstrip is a save icon. When the child form is shown/active I need
> that
> save icon to be appended to the parent's main toolstrip, or added as a
> toolstrip into a main ToolStripPane in the parent. I have been
> researching
> this for a couple of days and there are many references to using
> ToolStripManager and it's Merge and Revert methods etc. during Child
> Activated event handling. I have read this technique can lead to
> hideous
> screen flicker however.
>
> Can anyone recommend a best practice for this type of MDI Application
> scenario? Or where the best tutes can be found? I am drawing a bit of a
> blank with this one. I'm fairly new to Windows Forms as most of my
> experience is ASP.NET so I havn't touched Menu's and Toolbars since my
> VB6 days.
>
> Any pointers much appreciated.
>
> Thanks and regards.
>
> -Holly.