3

I am developing an addin to Visual Studio editor. Does anyone know how to provide a tip window in editor?

MSDN lacks enough description as to how the IVsTipWindow interface is used. Please help me out.

Matt Ball
  • 354,903
  • 100
  • 647
  • 710
Bhashana
  • 53
  • 3
  • You have to implement this Interface and then write your own implementation for the `Paint()` methods as its upto your plugin to decide how the tooltip should work. You can find more here : http://msdn.microsoft.com/en-us/library/ee197646.aspx – Saravanan Mar 24 '12 at 09:26

1 Answers1

0

I assume you wish to show the user a small window of what to enter without using a message box. If so why not use a tooltip?

ToolTip toolTip1;

Next make a hover event for your control and place this in the method

toolTip1.SetToolTip(sender as Control, "Some text in balloon!");

http://msdn.microsoft.com/en-us/library/system.windows.forms.tooltip.aspx

DrkNess
  • 676
  • 5
  • 4