Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IVsTipWindow Interface
Collapse the table of content
Expand the table of content

IVsTipWindow Interface

Provides a tip when the mouse pauses over a particular context stream in the core editor.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

[InterfaceTypeAttribute()]
[GuidAttribute("64C7FFC4-B9EE-4599-B130-FF9D890ECFD4")]
public interface IVsTipWindow

The IVsTipWindow type exposes the following members.

  NameDescription
Public methodDismissCloses the ToolTip window.
Public methodGetContextStreamReturns the position of the text the ToolTip should not obscure and over which the cursor can be held before the ToolTip is closed.
Public methodGetSizePreferencesGets the size preferences for the ToolTip window.
Public methodPaintPaints the ToolTip window.
Public methodWndProcEvent handler for the tip window.
Top

Implement this interface on your language service object to provide generic tips based on what the user is typing in the core editor. To intercept user characters, your language service object must also implement IOleCommandTarget. To pass the text view a pointer to your IOleCommandTarget implementation, call AddCommandFilter. The command filter intercepts commands that the user types into the code window. Monitor the command information to know when to display tip information to the user.

To provide method tips, your language service must call SetMethodData and implement IVsMethodData.

Notes to Implementers

Implement this interface on your language service object to provide a tip when the mouse pauses over a particular context stream in the core editor.

Show:
© 2015 Microsoft