IVsTextMarkerGlyphDropHandler::DrawCandidateOutlineGlyph Method (UInt32, IntPtr, array<RECT>^, UInt32)

 

Draws a shadow of the glyph in the widget margin at a potential destination line.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int DrawCandidateOutlineGlyph(
	unsigned int dwReserved,
	IntPtr hdc,
	array<RECT>^ pRect,
	unsigned int clrref
)

Parameters

dwReserved
Type: System::UInt32

[in] Do not use.

hdc
Type: System::IntPtr

[in] Handle to the display context in which to draw the glyph.

pRect
Type: array<Microsoft.VisualStudio.OLE.Interop::RECT>^

[in] Pointer to a RECT structure that defines the bounding rectangle for the glyph.

clrref
Type: System::UInt32

[in] RGB color value for the glyph.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsTextMarkerGlyphDropHandler::DrawCandidateOutlineGlyph(
   [in] DWORD dwReserved,
   [in] HDC hdc,
   [in] RECT *pRect,
   [in] COLORREF clrref
);

Draw the same glyph without regard for whether the destination is valid or not. Feedback as to whether the destination is valid will be given by the mouse cursor.

Return to top
Show: