IVsTextTipWindow 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

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("A6ACCB2F-1E0D-458B-A878-D40EB89C1DF4")> _
Public Interface IVsTextTipWindow _
    Inherits IVsTipWindow
[InterfaceTypeAttribute()]
[GuidAttribute("A6ACCB2F-1E0D-458B-A878-D40EB89C1DF4")]
public interface IVsTextTipWindow : IVsTipWindow
[InterfaceTypeAttribute()]
[GuidAttribute(L"A6ACCB2F-1E0D-458B-A878-D40EB89C1DF4")]
public interface class IVsTextTipWindow : IVsTipWindow
[<InterfaceTypeAttribute()>]
[<GuidAttribute("A6ACCB2F-1E0D-458B-A878-D40EB89C1DF4")>]
type IVsTextTipWindow =  
    interface 
        interface IVsTipWindow 
    end
public interface IVsTextTipWindow extends IVsTipWindow

The IVsTextTipWindow type exposes the following members.

Methods

  Name Description
Public method Dismiss Dismisses the tip window.
Public method GetContextStream Returns the context stream.
Public method GetSizePreferences Gets the size preferences for the tip window.
Public method Paint Paints the tip window.
Public method SetTextTipData Sets the text tip.
Public method WndProc Method information is not provided.

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 for 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