Solved

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

Posted on 2006-11-29
6
242 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
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…

808 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