MDI child's icon moves the mother's menu bar

Posted on 2006-11-29
Medium Priority
Last Modified: 2016-08-29
When a child form is maximised in an MDI, its icon appears to the left of the menu bar of the mother form, and shifts the menu bar to the right a little; it disappears when the form is restored to normal size again. (An example can be found here: https://filedb.experts-exchange.com/incoming/ee-stuff/1546-MDI.zip)
Is there a way to prevent this change in the position of the menu bar?
Question by:huji
  • 3
LVL 10

Expert Comment

ID: 18036549
The only way I know of changing this is to not have the icon altogether.
If you put me.controlbox = false in the child resize event, does it help ?
LVL 14

Author Comment

ID: 18036770
>> The only way I know of changing this is to not have the icon altogether.
I would like this idea! But I don't want the whole title bar of the form to go, just the icon. Setting controlbox value to false is not the answer then.
LVL 14

Author Comment

ID: 18194741
Any new idea?
LVL 14

Author Comment

ID: 18382804

I didn't find an answer to this question. Although it would be valuable to PAQ it with "there is no answer to this question" it is up to your decision, and I have no objections against deleting the question.


Accepted Solution

Computer101 earned 0 total points
ID: 18410591
PAQed with points refunded (250)

EE Admin

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Watch the video to know how one can repair corrupt Exchange OST file effortlessly and convert OST emails to MS Outlook PST file format by using Kernel for OST to PST converter tool. It can convert OST to MSG, MBOX, EML to access them. It can migrate…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question