IVsMouseCursorProvider Interface
Allows a marker to alter the mouse cursor when it is over its glyph.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Декларация
<GuidAttribute("E32F08DB-6364-4276-8EA8-BAA6752F7807")> _
<InterfaceTypeAttribute()> _
Public Interface IVsMouseCursorProvider
'Применение
Dim instance As IVsMouseCursorProvider
[GuidAttribute("E32F08DB-6364-4276-8EA8-BAA6752F7807")]
[InterfaceTypeAttribute()]
public interface IVsMouseCursorProvider
[GuidAttribute(L"E32F08DB-6364-4276-8EA8-BAA6752F7807")]
[InterfaceTypeAttribute()]
public interface class IVsMouseCursorProvider
[<GuidAttribute("E32F08DB-6364-4276-8EA8-BAA6752F7807")>]
[<InterfaceTypeAttribute()>]
type IVsMouseCursorProvider = interface end
public interface IVsMouseCursorProvider
Remarks
The text view negotiates the hover cursor and drag initiation by calling QueryInterface on the marker client provided (IVsTextMarkerClient. The client object should implement IVsMouseCursorProvider to handle mouse cursor updates for MV_GLYPH_HOVER_CURSOR and IVsTextMarkerGlyphDropHandler
Notes to Implementers
Implement on the text marker client object to allow a marker to alter the mouse cursor when it is over its glyph. If a marker has MV_GLYPH_HOVER_CURSORturned on for its visual style bits (MARKERVISUAL), then the environment will call QueryInterface on the IVsTextMarkerClient for this interface. This flag is ignored for markers that do not have MV_GLYPH specified.