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

Definition

Renders the tip window.

C++
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;
C++
public:
 virtual int Paint(IntPtr hdc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prc, System::UInt32 pColor, System::UInt32 pColorText, int fSel);

Parameters

hdc
IntPtr

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

Produkt Versiounen
Visual Studio SDK 2015, 2017, 2019, 2022