Home All Groups Group Topic Archive Search About

MainMenu Causes Designtime/Runtime Window Size Differences

Author
28 Jun 2006 5:04 PM
Mitchell Vincent
A picture says a thousand words, so here are 2!

Design Time:
http://www.ksoftware.net/examples/Clip1.jpg

Run Time:
http://www.ksoftware.net/examples/Clip2.jpg

The problems started when I added that MainMenu control. It almost looks
as if it is resizing to make room for a status bar at the bottom - but
there isn't one!

Thanks!

--
- Mitchell

Author
29 Jun 2006 7:53 AM
Gary Chang[MSFT]
Hi Mitchell,

Thank you posting!

>The problems started when I added that MainMenu
>control. It almost looks as if it is resizing to make room
>for a status bar at the bottom - but there isn't one!.

I have performed some tests on my side, it seems to be a phantom problem.
Sometimes it would happen at the first time right after you the Maimenu
control to a VS2003 Winform. But after you do some edit to the mainmenu
control, the problem would disappear and all work as normal.

Does this problem disappear on your side after you edit that Winform (and
its mainmenu control)?

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Author
29 Jun 2006 1:32 PM
Mitchell Vincent
Gary Chang[MSFT] wrote:
Show quoteHide quote
> Hi Mitchell,
>
> Thank you posting!
>
>> The problems started when I added that MainMenu
>> control. It almost looks as if it is resizing to make room
>> for a status bar at the bottom - but there isn't one!.
>
> I have performed some tests on my side, it seems to be a phantom problem.
> Sometimes it would happen at the first time right after you the Maimenu
> control to a VS2003 Winform. But after you do some edit to the mainmenu
> control, the problem would disappear and all work as normal.
>
> Does this problem disappear on your side after you edit that Winform (and
> its mainmenu control)?
>
> Thanks!
>
> Best regards,
>
> Gary Chang
>

I wish it did, but it's there to stay. I've even deleted the MainMenu
and re-created it under a different name and see the same thing happening..

Thanks!!

--
- Mitchell Vincent
Author
30 Jun 2006 3:45 AM
Gary Chang[MSFT]
Hi Mitchell,

I just add some new items to the menu control, and it would be OK. And in
some other test, this problem will not occur from the beginning.

By the way, does this issue occur to any other VS2003 Winform project on
your side? If that problem happens in all of your Winform projects, would
you please give us a simple repro walkthrough for research?

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Author
3 Jul 2006 2:02 PM
Mitchell Vincent
Gary Chang[MSFT] wrote:
Show quoteHide quote
> Hi Mitchell,
>
> I just add some new items to the menu control, and it would be OK. And in
> some other test, this problem will not occur from the beginning.
>
> By the way, does this issue occur to any other VS2003 Winform project on
> your side? If that problem happens in all of your Winform projects, would
> you please give us a simple repro walkthrough for research?
>
> Thanks!
>
> Best regards,
>
> Gary Chang

Thanks for the reply Gary, I missed it at first!

I wish it did happen with any consistency, but I'm afraid it doesn't. I
remember it happening before on a few projects but I can't remember
which ones. I've tried to reproduce it a couple of times on new
single-form projects but have been unable to. I'm aorry I can't be of
more help!


--
- Mitchell Vincent
Author
4 Jul 2006 3:19 AM
Gary Chang[MSFT]
Hi Mitchell,

>I wish it did happen with any consistency, but
>I'm afraid it doesn't. I remember it happening
>before on a few projects but I can't remember
>which ones. I've tried to reproduce it a couple
>of times on new single-form projects but have
>been unable to. I'm aorry I can't be of
>more help!

That's OK. It may be a phantom problem of the Visual Studio IDE. If this
problem persists to a specific project of yours, you can send that
stand-alone project (zipped) to us for research.

Have a nice day!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.