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
'Déclaration
<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 | |
---|---|---|
Dismiss() | Dismisses the tip window. | |
Dismiss() | Closes the ToolTip window. (Inherited from IVsTipWindow.) | |
GetContextStream(Int32%, Int32%) | Returns the context stream. | |
GetContextStream(Int32%, Int32%) | Returns the position of the text the ToolTip should not obscure and over which the cursor can be held before the ToolTip is closed. (Inherited from IVsTipWindow.) | |
GetSizePreferences(array<RECT[], array<TIPSIZEDATA[]) | Gets the size preferences for the tip window. | |
GetSizePreferences(array<RECT[], array<TIPSIZEDATA[]) | Gets the size preferences for the ToolTip window. (Inherited from IVsTipWindow.) | |
Paint(IntPtr, array<RECT[]) | Paints the tip window. | |
Paint(IntPtr, array<RECT[]) | Paints the ToolTip window. (Inherited from IVsTipWindow.) | |
SetTextTipData | Sets the text tip. | |
WndProc(IntPtr, UInt32, IntPtr, IntPtr) | Method information is not provided. | |
WndProc(IntPtr, UInt32, IntPtr, IntPtr) | Event handler for the tip window. (Inherited from IVsTipWindow.) |
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.