IVsSmartTagTipWindow.Paint Method
Renders the tip window.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaração
Function Paint ( _
hdc As IntPtr, _
prc As RECT(), _
pColor As UInteger, _
pColorText As UInteger, _
fSel As Integer _
) As Integer
int Paint(
IntPtr hdc,
RECT[] prc,
uint pColor,
uint pColorText,
int fSel
)
int Paint(
[InAttribute] IntPtr hdc,
[InAttribute] array<RECT>^ prc,
[InAttribute] unsigned int pColor,
[InAttribute] unsigned int pColorText,
[InAttribute] int fSel
)
abstract Paint :
hdc:IntPtr *
prc:RECT[] *
pColor:uint32 *
pColorText:uint32 *
fSel:int -> int
function Paint(
hdc : IntPtr,
prc : RECT[],
pColor : uint,
pColorText : uint,
fSel : int
) : int
Parameters
- hdc
Type: System.IntPtr
[in] 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.