共用方式為


VsTextTipWindowClass Class

Definition

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

public ref class VsTextTipWindowClass : Microsoft::VisualStudio::TextManager::Interop::VsTextTipWindow
[Windows::Foundation::Metadata::WebHostHidden]
class VsTextTipWindowClass : Microsoft::VisualStudio::TextManager::Interop::VsTextTipWindow
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("05DD7650-130A-11D3-AFCB-00105A9991EF")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsTextTipWindowClass : Microsoft.VisualStudio.TextManager.Interop.VsTextTipWindow
[System.Runtime.InteropServices.Guid("05DD7650-130A-11D3-AFCB-00105A9991EF")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class VsTextTipWindowClass : Microsoft.VisualStudio.TextManager.Interop.VsTextTipWindow
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("05DD7650-130A-11D3-AFCB-00105A9991EF")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsTextTipWindowClass = class
    interface IVsTextTipWindow
    interface VsTextTipWindow
[<System.Runtime.InteropServices.Guid("05DD7650-130A-11D3-AFCB-00105A9991EF")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type VsTextTipWindowClass = class
    interface VsTextTipWindow
    interface IVsTextTipWindow
    interface IVsTipWindow
Public Class VsTextTipWindowClass
Implements VsTextTipWindow
Inheritance
VsTextTipWindowClass
Attributes
Implements

Remarks

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Constructors

VsTextTipWindowClass()

Creates a new instance of the class.

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)

Processes Windows messages for the tip window.

Applies to