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

3 posts, 0 answers
  1. Brett
    Brett avatar
    11 posts
    Member since:
    Jan 2012

    Posted 13 May 2013 Link to this post

    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. Brett
    Brett avatar
    11 posts
    Member since:
    Jan 2012

    Posted 13 May 2013 Link to this post

    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.
  3. DevCraft R3 2016 release webinar banner
  4. Peter
    Peter avatar
    1148 posts

    Posted 16 May 2013 Link to this post

    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.

    the Telerik team
    RadChart for WinForms is obsolete. Now what?
Back to Top