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
'Declaration
<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 | |
---|---|---|
Dismiss | Closes the ToolTip window. | |
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. | |
GetSizePreferences | Gets the size preferences for the ToolTip window. | |
Paint | Paints the ToolTip window. | |
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.