Condividi tramite


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)

Syntax

'Dichiarazione
<InterfaceTypeAttribute()> _
<GuidAttribute("64C7FFC4-B9EE-4599-B130-FF9D890ECFD4")> _
Public Interface IVsTipWindow
[InterfaceTypeAttribute()]
[GuidAttribute("64C7FFC4-B9EE-4599-B130-FF9D890ECFD4")]
public interface IVsTipWindow
[InterfaceTypeAttribute()]
[GuidAttribute(L"64C7FFC4-B9EE-4599-B130-FF9D890ECFD4")]
public interface class IVsTipWindow
[<InterfaceTypeAttribute()>]
[<GuidAttribute("64C7FFC4-B9EE-4599-B130-FF9D890ECFD4")>]
type IVsTipWindow =  interface end
public interface IVsTipWindow

The IVsTipWindow type exposes the following members.

Methods

  Name Description
Public method Dismiss Closes the ToolTip window.
Public method GetContextStream Returns the position of the text the ToolTip should not obscure and over which the cursor can be held before the ToolTip is closed.
Public method GetSizePreferences Gets the size preferences for the ToolTip window.
Public method Paint Paints the ToolTip window.
Public method WndProc Event handler for the tip window.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace