T
T Waldren
When using an C# MDI Form, I have set the Child form's Minimize and Maximize
buttons to false, so they do not show up. But when I maximize the program
to fit a larger size window then what the default size is of the MDI Parent
is set to (programming this for a specific screen size), the Maximize and
Minimize buttons show up on the child form which can cause issues if someone
inadvertently uses them
I know this has been discussed before, and people have stated it is a bug in
..Net.
What I was wondering is if there are any examples of a code snippet that
finds the Size of the MDI Parent, then changes the size of the MDI Child
(similar to maximizing the Child form) so that the MDI Child will then be
"maximized" without initating that part of the .Net code. I was wondering
if by doing that throw separate code, the maximize and minimize buttons
would then not appear, and I could get around this problem.
Does anyone know of any examples, or something that could lead me down a
path to solving this?
Thanks,
T.Waldren
buttons to false, so they do not show up. But when I maximize the program
to fit a larger size window then what the default size is of the MDI Parent
is set to (programming this for a specific screen size), the Maximize and
Minimize buttons show up on the child form which can cause issues if someone
inadvertently uses them
I know this has been discussed before, and people have stated it is a bug in
..Net.
What I was wondering is if there are any examples of a code snippet that
finds the Size of the MDI Parent, then changes the size of the MDI Child
(similar to maximizing the Child form) so that the MDI Child will then be
"maximized" without initating that part of the .Net code. I was wondering
if by doing that throw separate code, the maximize and minimize buttons
would then not appear, and I could get around this problem.
Does anyone know of any examples, or something that could lead me down a
path to solving this?
Thanks,
T.Waldren