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

Definition

Renders the tip window.

public:
 virtual int Paint(IntPtr hdc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prc, System::UInt32 pColor, System::UInt32 pColorText, int fSel) = Microsoft::VisualStudio::TextManager::Interop::IVsSmartTagTipWindow::Paint;
public:
 virtual int Paint(IntPtr hdc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prc, System::UInt32 pColor, System::UInt32 pColorText, int fSel);
public virtual 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
override this.Paint : nativeint * Microsoft.VisualStudio.OLE.Interop.RECT[] * uint32 * uint32 * int -> int
Public Overridable Function Paint (hdc As IntPtr, prc As RECT(), pColor As UInteger, pColorText As UInteger, fSel As Integer) As Integer

Parameters

hdc
IntPtr

nativeint

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.

Implements

Applies to