Freigeben über


IVsTextTipWindow Interface

Definition

Provides a tip when the mouse pauses over a particular context stream in the core editor.

public interface class IVsTextTipWindow : Microsoft::VisualStudio::TextManager::Interop::IVsTipWindow
public interface class IVsTextTipWindow : Microsoft::VisualStudio::TextManager::Interop::IVsTipWindow
__interface IVsTextTipWindow : Microsoft::VisualStudio::TextManager::Interop::IVsTipWindow
[System.Runtime.InteropServices.Guid("A6ACCB2F-1E0D-458B-A878-D40EB89C1DF4")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextTipWindow : Microsoft.VisualStudio.TextManager.Interop.IVsTipWindow
[System.Runtime.InteropServices.Guid("A6ACCB2F-1E0D-458B-A878-D40EB89C1DF4")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextTipWindow : Microsoft.VisualStudio.TextManager.Interop.IVsTipWindow
[<System.Runtime.InteropServices.Guid("A6ACCB2F-1E0D-458B-A878-D40EB89C1DF4")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextTipWindow = interface
    interface IVsTipWindow
[<System.Runtime.InteropServices.Guid("A6ACCB2F-1E0D-458B-A878-D40EB89C1DF4")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextTipWindow = interface
    interface IVsTipWindow
Public Interface IVsTextTipWindow
Implements IVsTipWindow
Derived
Attributes
Implements

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.

Methods

Dismiss()

Dismisses the tip window.

GetContextStream(Int32, Int32)

Returns the context stream.

GetSizePreferences(RECT[], TIPSIZEDATA[])

Gets the size preferences for the tip window.

Paint(IntPtr, RECT[])

Paints the tip window.

SetTextTipData(IVsTextTipData)

Sets the text tip.

WndProc(IntPtr, UInt32, IntPtr, IntPtr)

Method information is not provided.

Applies to