Udostępnij za pośrednictwem


VsMethodTipWindowClass.Paint(IntPtr, RECT[]) Method

Definition

Paints the tip window.

public:
 virtual int Paint(IntPtr hdc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prc) = Microsoft::VisualStudio::TextManager::Interop::IVsMethodTipWindow::Paint;
public:
 virtual int Paint(IntPtr hdc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prc);
public virtual int Paint (IntPtr hdc, Microsoft.VisualStudio.OLE.Interop.RECT[] prc);
abstract member Paint : nativeint * Microsoft.VisualStudio.OLE.Interop.RECT[] -> int
override this.Paint : nativeint * Microsoft.VisualStudio.OLE.Interop.RECT[] -> int
Public Overridable 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

Applies to