[Limitation] Ribbon doesn't support MDI

Dec 27, 2009 at 5:12 PM

I mean i want to use it in MDIParent Form.

Situation:

I use sample02-ApplicationMenuButton and add a line "this.IsMdiContainer = true;" in Form1.Designer.cs

And I add a Form2 and change Form1.cs

void _buttonNew_OnExecute(PropertyKeyRef key, PropVariantRef currentValue, IUISimplePropertySet commandExecutionProperties)
        {
            Form2 form = new Form2();
            form.ShowDialog();
        }

Up is OK and Open a new Form;

But I change Form1.cs

void _buttonNew_OnExecute(PropertyKeyRef key, PropVariantRef currentValue, IUISimplePropertySet commandExecutionProperties)
        {
            Form2 form = new Form2();
            form.MdiParent = this;
            form.Show();
        }

It can't create a Childform.

Plz tell me how can i use with MDIParent.

ex. Sorry my bad english.

Coordinator
Dec 28, 2009 at 6:15 PM

Unfortunately it doesn't. 
The windows ribbon framework does not support MDI windows and so is the ribbon wrapper library.