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

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?
LVL 14
hujiAsked:
Who is Participating?
 
Computer101Connect With a Mentor Commented:
PAQed with points refunded (250)

Computer101
EE Admin
0
 
Kinger247Commented:
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 ?
0
 
hujiAuthor Commented:
>> 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.
0
 
hujiAuthor Commented:
Any new idea?
0
 
hujiAuthor Commented:
Bob,

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.

Regards,
Huji
0
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.

All Courses

From novice to tech pro — start learning today.