MainMenu Causes Designtime/Runtime Window Size Differences

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mitchell Vincent

    #1

    MainMenu Causes Designtime/Runtime Window Size Differences

    A picture says a thousand words, so here are 2!

    Design Time:


    Run Time:


    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
  • Gary Chang[MSFT]

    #2
    RE: MainMenu Causes Designtime/Runtime Window Size Differences

    Hi Mitchell,

    Thank you posting!
    [color=blue]
    >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!.[/color]

    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.

    Comment

    • Mitchell Vincent

      #3
      Re: MainMenu Causes Designtime/Runtime Window Size Differences

      Gary Chang[MSFT] wrote:[color=blue]
      > Hi Mitchell,
      >
      > Thank you posting!
      >[color=green]
      >> 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!.[/color]
      >
      > 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
      >[/color]

      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

      Comment

      • Gary Chang[MSFT]

        #4
        Re: MainMenu Causes Designtime/Runtime Window Size Differences

        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.

        Comment

        • Mitchell Vincent

          #5
          Re: MainMenu Causes Designtime/Runtime Window Size Differences

          Gary Chang[MSFT] wrote:
          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

          Comment

          • Gary Chang[MSFT]

            #6
            Re: MainMenu Causes Designtime/Runtime Window Size Differences

            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.

            Comment

            Working...