共用方式為


VsSmartTagTipWindowClass Class

Definition

Controls interaction with a tip window.

public ref class VsSmartTagTipWindowClass : Microsoft::VisualStudio::TextManager::Interop::VsSmartTagTipWindow
[Windows::Foundation::Metadata::WebHostHidden]
class VsSmartTagTipWindowClass : Microsoft::VisualStudio::TextManager::Interop::VsSmartTagTipWindow
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("5A46C6DE-1FE4-43B8-8E1E-598AE65F184A")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsSmartTagTipWindowClass : Microsoft.VisualStudio.TextManager.Interop.VsSmartTagTipWindow
[System.Runtime.InteropServices.Guid("5A46C6DE-1FE4-43B8-8E1E-598AE65F184A")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class VsSmartTagTipWindowClass : Microsoft.VisualStudio.TextManager.Interop.VsSmartTagTipWindow
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("5A46C6DE-1FE4-43B8-8E1E-598AE65F184A")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsSmartTagTipWindowClass = class
    interface IVsSmartTagTipWindow
    interface VsSmartTagTipWindow
[<System.Runtime.InteropServices.Guid("5A46C6DE-1FE4-43B8-8E1E-598AE65F184A")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type VsSmartTagTipWindowClass = class
    interface VsSmartTagTipWindow
    interface IVsSmartTagTipWindow
Public Class VsSmartTagTipWindowClass
Implements VsSmartTagTipWindow
Inheritance
VsSmartTagTipWindowClass
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

VsSmartTagTipWindowClass()

Initializes a new instance of VsSmartTagTipWindowClass.

Methods

Dismiss()

The window is being dismissed by the view.

GetContextStream(Int32, Int32)

Returns the context stream (the position and length of text in the buffer that should not be obscured by the tip window, but to which the content of the tip is related).

GetSizePreferences(RECT[], SMARTTAGSIZEDATA[])

Returns the size preferences for a tip window.

Paint(IntPtr, RECT[], UInt32, UInt32, Int32)

Renders the tip window.

SetSmartTagData(IVsSmartTagData)

Sets smart tag data.

WndProc(IntPtr, UInt32, IntPtr, IntPtr, Int32)

Processes Windows messages for the tip window.

WndProc(IntPtr, UInt32, IntPtr, IntPtr, IntPtr)

Applies to