IVsSmartTagTipWindow.Paint Method
Renders the window.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Function Paint ( _
hdc As IntPtr, _
prc As RECT(), _
pColor As UInteger, _
pColorText As UInteger, _
fSel As Integer _
) As Integer
'Usage
Dim instance As IVsSmartTagTipWindow
Dim hdc As IntPtr
Dim prc As RECT()
Dim pColor As UInteger
Dim pColorText As UInteger
Dim fSel As Integer
Dim returnValue As Integer
returnValue = instance.Paint(hdc, prc, _
pColor, pColorText, fSel)
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
The window handle.
- prc
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[]
[in] Coordinates of the bounding rectangle.
- pColor
Type: System.UInt32
The color ID.
- pColorText
Type: System.UInt32
The color text ID.
- fSel
Type: System.Int32
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.