Udostępnij za pośrednictwem


IVsMethodTipWindow.Paint(IntPtr, RECT[]) Method

Definition

Paints the tip window.

public:
 int Paint(IntPtr hdc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prc);
public int Paint (IntPtr hdc, Microsoft.VisualStudio.OLE.Interop.RECT[] prc);
abstract member Paint : nativeint * Microsoft.VisualStudio.OLE.Interop.RECT[] -> int
Public Function Paint (hdc As IntPtr, prc As RECT()) As Integer

Parameters

hdc
IntPtr

nativeint

[in]Handle to the display context in which to draw the tip window.

prc
RECT[]

[in] Specifies the bounding rectangle for the tip window.

Returns

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

Implements

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsMethodTipWindow::Paint(  
   [in] HDC hdc,   
   [in] const RECT *prc  
);  

Applies to