huji
asked on
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?
Is there a way to prevent this change in the position of the menu bar?
ASKER
>> 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.
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.
ASKER
Any new idea?
ASKER
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you put me.controlbox = false in the child resize event, does it help ?