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)

[GuidAttribute("E32F08DB-6364-4276-8EA8-BAA6752F7807")]
[InterfaceTypeAttribute(1)]
public interface IVsMouseCursorProvider

NameDescription
System_CAPS_pubmethodSetMouseCursor(UInt32)

Indicates that the text marker client should call the Win 32 API function SetCursor.

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.

Return to top
Show: