I have a form that acts as MDI parent form and several other forms as MDI child. The child windows have FormBorderStyle.None and ControlBox = false so that no border stuff from the MDI children is displayed in the MDI parent. But the MDI children run maximised in my application and in that case, the main form window title text always includes the child form text, like this:
+--+---------------------------------------+-------+ | | Main window title - [Child title] | _ O x | +--+---------------------------------------+-------+ | | ...
How can I get rid of the "- [Child title]"
part in the main title bar? I have watched the Form.Text property and it does include the full title that is visible on the screen. But setting the Text to something else only changes the first part, the child title is always added and cannot be removed this way. I brief walk though .NET Reflector didn't lead to anything interesting.