ToolStripButton (VB.NET 2005) - how to remove the square which appeare at mouse over.

Hello all,

Is there possible to remove the square effect, which is visible at mouse over for an item of a ToolStrip control I want to remove this effect since i need to put my own effect, i want to set an image for a ToolStripButton and, on the event MouseHover to change this image. I made this but still remais the native effect with the square. I mention that i used an image with round corners and with transparent background.

Thanks.


Answer this question

ToolStripButton (VB.NET 2005) - how to remove the square which appeare at mouse over.

  • ReneeC

    leo,poteleanu,

    According to your question, I suggest you to pay more attention to the RenderMode property of ToolStrip control. The default RenderMode value is ManagerRenderMode, however, when you change the value to System, then run the form application. You can see your background image cannot be covered by the color when your mouse move over to the ToolStripButton.

    So please do: ToolStrip.RenderMode=System



  • ToolStripButton (VB.NET 2005) - how to remove the square which appeare at mouse over.