Condividi tramite


IVsTextMarkerGlyphDropHandler.DrawCandidateOutlineGlyph Method

Definition

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

public:
 int DrawCandidateOutlineGlyph(System::UInt32 dwReserved, IntPtr hdc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pRect, System::UInt32 clrref);
public int DrawCandidateOutlineGlyph (uint dwReserved, IntPtr hdc, Microsoft.VisualStudio.OLE.Interop.RECT[] pRect, uint clrref);
abstract member DrawCandidateOutlineGlyph : uint32 * nativeint * Microsoft.VisualStudio.OLE.Interop.RECT[] * uint32 -> int
Public Function DrawCandidateOutlineGlyph (dwReserved As UInteger, hdc As IntPtr, pRect As RECT(), clrref As UInteger) As Integer

Parameters

dwReserved
UInt32

[in] Do not use.

hdc
IntPtr

nativeint

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

pRect
RECT[]

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

clrref
UInt32

[in] RGB color value for the glyph.

Returns

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.

Applies to