ToolStripContainer and MDI App

Q

Qubeczek

Hello,
I'am trying to write some application under .NET Visual Studio 2005 Beta.


My idea is as follows:
- main MDI Parent form, with some button-panels, allowing redocking then
(this pannels with uttons) to top, left and wright of the main form.
- some MDI Child forms, with their owne buttons-panels and the same
possibility to dock them to the bankd of the CHILD form.

In .NET Framework there is TollStripContainer, that allows simple
re-docking ToolStrip component bettwen bands.

But when I use them (ToolStripContainer) on MDI Parent form, no child
form apper. I do this code:


private void okno2ToolStripMenuItem_Click(object sender, EventArgs e)
{
BrowseForm br = new BrowseForm();
br.MdiParent = this;
br.Show();
}

What I do wrong ?

Maybe there is some another possibility to program dockable button
panels in another way (without ToolStripContainer) ?

Regards
Qubeczek
 
M

Matt Brunell

There is a control called System.Windows.Forms.ToolStripPanel. Its not
included in the toolbox by default, but you can add it. Use this
control to allow rafting toolbars in an MDI application
--Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top