My Windows Forms application has a MenuStrip and some of the menu items (ToolStripMenuItem) have an icon (setting the ToolStripMenuItem.Image property).
When the RenderMode property of the MenuStrip is set to ToolStripRenderMode.System, the checkmark doesn't display when the Checked or CheckOnClick property is true and the menu item has an icon.
It does display when i switch the MenuStrip.RenderMode property to ToolStripRenderMode.Professional or ToolStripRenderMode.RenderManagerMode.
Unfortunately, this is a problem because my app requires:
- A
ProgressBarin marquee mode, soApplication.EnableVisualStyles()is required to get this to work. - The app requires a "flat" visual style, which i accomplished by leaving out the call to
Application.EnableVisualStyles()and leaving the defaultToolStripRenderMode.RenderManagerModeon the MenuStrip. But then i can't get my marquee ProgressBar! - Setting the
RenderModetoToolStripRenderMode.Systemsolves the look and feel requirement, but takes away the ability to have checked menu items w/icons.
Is there any way to satisfy all my requirements? Am i missing something? Thanks for looking.