다음을 통해 공유


IVsTextMarkerGlyphDropHandler.DrawCandidateOutlineGlyph Method

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)

Syntax

‘선언
Function DrawCandidateOutlineGlyph ( _
    dwReserved As UInteger, _
    hdc As IntPtr, _
    pRect As RECT(), _
    clrref As UInteger _
) As Integer
int DrawCandidateOutlineGlyph(
    uint dwReserved,
    IntPtr hdc,
    RECT[] pRect,
    uint clrref
)
int DrawCandidateOutlineGlyph(
    [InAttribute] unsigned int dwReserved, 
    [InAttribute] IntPtr hdc, 
    [InAttribute] array<RECT>^ pRect, 
    [InAttribute] unsigned int clrref
)
abstract DrawCandidateOutlineGlyph : 
        dwReserved:uint32 * 
        hdc:IntPtr * 
        pRect:RECT[] * 
        clrref:uint32 -> int 
function DrawCandidateOutlineGlyph(
    dwReserved : uint, 
    hdc : IntPtr, 
    pRect : RECT[], 
    clrref : uint
) : int

Parameters

  • hdc
    Type: System.IntPtr
    [in] Handle to the display context in which to draw the glyph.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

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.

.NET Framework Security

See Also

Reference

IVsTextMarkerGlyphDropHandler Interface

Microsoft.VisualStudio.TextManager.Interop Namespace