Partager via


IVsSmartTagTipWindow.Paint(IntPtr, RECT[], UInt32, UInt32, Int32) Method

Definition

Renders the tip window.

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

Parameters

hdc
IntPtr

nativeint

[in] The device context handle.

prc
RECT[]

[in] Coordinates of the bounding rectangle.

pColor
UInt32

[in] The color ID.

pColorText
UInt32

[in] The text color ID.

fSel
Int32

[in] Flag indicating whether the window is selected.

Returns

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

Applies to