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);

Parameters

hdc
IntPtr

[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

Produto Versões
Visual Studio SDK 2015, 2017, 2019, 2022