Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2006-11-29
6
245 Views
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?
0
Comment
Question by:huji
  • 3
6 Comments
 
LVL 10

Expert Comment

by:Kinger247
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 ?
0
 
LVL 14

Author Comment

by:huji
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.
0
 
LVL 14

Author Comment

by:huji
ID: 18194741
Any new idea?
0
 
LVL 14

Author Comment

by:huji
ID: 18382804
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
 
LVL 1

Accepted Solution

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

Computer101
EE Admin
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

792 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