Results 1 to 3 of 3

Thread: [RESOLVED] [2005] MenuStrip conflicts with other controls

  1. #1

    Thread Starter
    Frenzied Member circuits2's Avatar
    Join Date
    Sep 2006
    Location
    Kansas City, MO
    Posts
    1,027

    Resolved [RESOLVED] [2005] MenuStrip conflicts with other controls

    I'm using a MenuStrip that I pass a custom ProfessionalColorTable by way of a ToolStripProfessionalRenderer. Beneath the MenuStrip is a Panel that has a background image. About 5 seconds after startup I get a screen flicker like the form is refreshing, though I don't have any code that is executing at that time. If one of the MenuItems is in DropDown mode when the refresh occurs, then the entire contents of the MenuItem is filled with the background image of the panel . Has anyone else run into this?
    Show the love! Click (rate this post) under my name if I was helpful.

    My CodeBank Submissions: How to create a User Control | Move a form between Multiple Monitors (Screens) | Remove the MDI Client Border | Using Report Viewer with Visual Studio 2012 Express

  2. #2

    Thread Starter
    Frenzied Member circuits2's Avatar
    Join Date
    Sep 2006
    Location
    Kansas City, MO
    Posts
    1,027

    Re: [2005] MenuStrip conflicts with other controls

    bump....
    Show the love! Click (rate this post) under my name if I was helpful.

    My CodeBank Submissions: How to create a User Control | Move a form between Multiple Monitors (Screens) | Remove the MDI Client Border | Using Report Viewer with Visual Studio 2012 Express

  3. #3

    Thread Starter
    Frenzied Member circuits2's Avatar
    Join Date
    Sep 2006
    Location
    Kansas City, MO
    Posts
    1,027

    Re: [2005] MenuStrip conflicts with other controls

    I think I may understand this issue now. For some reason, the paint event for the panel beneath the MenuStrip is being raised a second time shortly after starting the app. When a background image is used in the panel, the background image is applied essentially to the window itself, which is why the image also fills any portion of a menu that is dropped down into the space occupied by the panel. Removing the background image resolves the issue. I'm not happy about the inconvenience as it throws a kink into my design of the UI. Nevertheless, life goes on.
    Show the love! Click (rate this post) under my name if I was helpful.

    My CodeBank Submissions: How to create a User Control | Move a form between Multiple Monitors (Screens) | Remove the MDI Client Border | Using Report Viewer with Visual Studio 2012 Express

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width