Give a tooltip when the mouse is over certain text

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

There is not enough description in MSDN of how the interface is used IVsTipWindow. Please help me.

+3
source share
1 answer

I assume that you want to show the user a small input window without using a message box. If so, why not use the tooltip?

ToolTip toolTip1;

Then create a freeze event for your control and put it in a method

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

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

0

Source: https://habr.com/ru/post/1777380/


All Articles