Hi,
Here is a nice Work In Progress for you: a ToolStripRenderer that will make your ToolStrip look like the Vista toolstrip equivalent.
Screenshots:
Comparison pic (top is mine, bottom is actual Vista):
As you may see, there are still lots of things I have to improve on, for example the colors are still a little off, as is the white gradient from the bottom to the dark blue middle.
Also, the size of the buttons seems to be a little small.
Finally the actual Vista toolstrip has a blurred shadow underneath the text on the buttons. I have not figured out yet how to blur the text (does anyone know?) but once I do I can add it pretty quickly.
The VistaToolStripRenderer class is attached.
Usage: Add the class file to your project, then use the following code (in the Form_Load event of the form hosting the ToolStrip) to set the Renderer property of the ToolStrip:
Code:MyToolStrip.Renderer = New clsVistaToolStripRenderer
Note that this is still a WIP so I shall update this when I find the time. In the meantime, please feel free to download it and adapt it for your own use. If you manage to make it look even closer or add some new functionality don't hesitate the post it here and I will include it!






Reply With Quote