This is a migrated thread and some comments may be shown as answers.

MDI Child Form Maximized Shows Title Bar/Control Box/Icon

2 Answers 1216 Views
TitleBar
This is a migrated thread and some comments may be shown as answers.
Brett
Top achievements
Rank 1
Brett asked on 13 May 2013, 06:22 PM
I have an MDI Parent Form (System.Windows.Forms.Form) and an MDI Child Form (Telerik.WinControls.UI.RadForm).

My parent form has it's FormBorderStyle set to None and contains a RadRibbonBar.

When I open a new instance of the child form and maximize it, it's showing the Title Bar/Control Box/Icon of the child form above the RadRibbonBar Title Bar/Control Box/Icon.

Is there any way to make it not show these when maximized?

See attached pictures.

Thanks in advance!

EDIT: I can get it to work if my parent form is a Telerik.WinControls.UI.RadRibbonForm but it has the standard Windows 7 Blue border around the whole page and doesn't flow properly with the theme. Is there a way I can get the functionality of the RadRibbonForm with the theme of the standard Form?

2 Answers, 1 is accepted

Sort by
0
Brett
Top achievements
Rank 1
answered on 13 May 2013, 09:28 PM
Okay well I randomly found a workaround to get it to work.

I added a System.Windows.Forms.MenuStrip control to the form and set it's Visible property to False.

Then I set the MainMenuStrip value of the parent form to that new MenuStrip and it seems to work now.

Only thing is that it doesn't automatically update the parent form's title bar but I can do that programmatically through the code.
0
Peter
Telerik team
answered on 16 May 2013, 01:16 PM
Hi Brett, 

I am glad that you found a solution for this case and I can confirm that is the right way to resolve it. Here is a discussion about the same topic I found: 
add a MenuStrip to the form and make it invisible.

Greetings,
Peter
the Telerik team
RadChart for WinForms is obsolete. Now what?
Tags
TitleBar
Asked by
Brett
Top achievements
Rank 1
Answers by
Brett
Top achievements
Rank 1
Peter
Telerik team
Share this question
or