|
-
Jul 6th, 2007, 08:39 AM
#1
Thread Starter
Frenzied Member
[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?
-
Jul 6th, 2007, 03:05 PM
#2
Thread Starter
Frenzied Member
Re: [2005] MenuStrip conflicts with other controls
-
Jul 9th, 2007, 08:52 PM
#3
Thread Starter
Frenzied Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|