Condividi tramite


IVsMouseCursorProvider Interface

Definition

Allows a marker to alter the mouse cursor when it is over its glyph.

public interface class IVsMouseCursorProvider
public interface class IVsMouseCursorProvider
__interface IVsMouseCursorProvider
[System.Runtime.InteropServices.Guid("E32F08DB-6364-4276-8EA8-BAA6752F7807")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsMouseCursorProvider
[System.Runtime.InteropServices.Guid("E32F08DB-6364-4276-8EA8-BAA6752F7807")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsMouseCursorProvider
[<System.Runtime.InteropServices.Guid("E32F08DB-6364-4276-8EA8-BAA6752F7807")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsMouseCursorProvider = interface
[<System.Runtime.InteropServices.Guid("E32F08DB-6364-4276-8EA8-BAA6752F7807")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsMouseCursorProvider = interface
Public Interface IVsMouseCursorProvider
Attributes

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.

Methods

SetMouseCursor(UInt32)

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

Applies to