Hi.
I have a ToolStrip control in which I add in runtime 3 ToolStripButtons.
If you see when you move the mouse over the toolstripbutton it appear a border and a background.
Anyone have an ideea how can I make this background and border transparent
Thanks

A question regarding aToolStripButton
OmniTech
I want to send to an usercontrol made in VB NET the height of the form from the VB 6 application.
Exactly :I want to make to this usercontrol a property call Down .This property can be true or false.When this property is true I want that this usercontrol to be locate in the bottom of the form.To calculate the top point of the usercontrol I need the height of the VB6 form.
Do you have any idea how can I send the height of the VB6 form to this usercontrol made in VB Net
Please help!
Thanks
Avy
Philippe Cand
Avy32,
In order to solve this problem, I recommend you to download the Interop Forms Toolkit that bring the power of .NET Visual Basic 6. There are documents and sample projects in the package, just download it in the following link:
http://msdn2.microsoft.com/en-us/vbasic/aa701259.aspx
Thank you for your question. This thread is marked as answered. Please post your question in a new thread in order that more people can notice your question not only me. It is better that one question is in single thread.
Thank you for your question again!
BLueDeViL
Avy32,
As you described, I create a new form and a ToolStrip control with three ToolStrip buttons on the form in VB Express Edition 2005. when running thhe form, I notice that the default border of ToolStripButton is Black and background color is close to yellow. Then I try to modify some certain properties, however, nothing happens to change the mouse over on the ToolStripButton control.
After that, I try to change the ToolStrip control. There is a property called RenderMode, when I set the value to "System", the border disapears and the background color change into the same with the form.
Search in msdn with the RenderMode property, I got: you cannot explicitly set the ToolStrip.RenderMode to Custom. However, the ToolStrip.RenderMode returns Custom when the ToolStrip.Renderer is set to an extension of the ToolStripRenderer class that is not ToolStripProfessionalRenderer or ToolStripSystemRenderer.
I suggest you to read some related information and the code example in the following links:
TooStripRenderer class: http://msdn2.microsoft.com/en-us/library/system.windows.forms.toolstriprenderer(VS.80).aspx
How to: Set the ToolStrip Renderer for an Application: http://msdn2.microsoft.com/en-us/library/ms229634(VS.80).aspx
Adam Plocher
Avy