VsSmartTagTipWindowClass::Paint Method (IntPtr, array<RECT>^, UInt32, UInt32, Int32)

 

Renders the tip window.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

public:
virtual int Paint(
	IntPtr hdc,
	array<RECT>^ prc,
	unsigned int pColor,
	unsigned int pColorText,
	int fSel
)

Parameters

hdc
Type: System::IntPtr

The device context handle.

prc
Type: array<Microsoft.VisualStudio.OLE.Interop::RECT>^

[in] Coordinates of the bounding rectangle.

pColor
Type: System::UInt32

[in] The color ID.

pColorText
Type: System::UInt32

[in] The text color ID.

fSel
Type: System::Int32

[in] Flag indicating whether the window is selected.

Return Value

Type: System::Int32

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

Return to top
Show: