MDI Window


In MDI main window, if I add any control, say button, the click event is not fired. Is it possible to add control, or its only purpose is to show the child windows ?

  • You must to post comments

Hi Anz,

You should be able to. You can test it by calling myControl.BringToFront(); The MDI Host is shown on top of the control by default, but you can’t tell because it’s transparent.

Check out this example for adding controls around the MDI Window: It shows a Toolbar at the top of the MDI host form.

If you need a common control on all of your MDI child controls (such as a toolbar) I would suggest creating a custom Form with the button and to subclass your other windows from that.

Let me know if you have any questions about it!


Best regards,


  • Levie (ITG)
    Hi Anz, I updated my answer, you should be able to! -Levie
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.