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)

[InterfaceTypeAttribute(1)]
[GuidAttribute("A6ACCB2F-1E0D-458B-A878-D40EB89C1DF4")]
public interface IVsTextTipWindow : IVsTipWindow

NameDescription
System_CAPS_pubmethodDismiss()

Dismisses the tip window.

System_CAPS_pubmethodGetContextStream(Int32, Int32)

Returns the context stream.

System_CAPS_pubmethodGetSizePreferences(RECT[], TIPSIZEDATA[])

Gets the size preferences for the tip window.

System_CAPS_pubmethodPaint(IntPtr, RECT[])

Paints the tip window.

System_CAPS_pubmethodSetTextTipData(IVsTextTipData)

Sets the text tip.

System_CAPS_pubmethodWndProc(IntPtr, UInt32, IntPtr, IntPtr)

Method information is not provided.

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.

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.

Return to top
Show: