VsSmartTagTipWindowClass.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
'宣告
Public Overridable Function Paint ( _
hdc As IntPtr, _
prc As RECT(), _
pColor As UInteger, _
pColorText As UInteger, _
fSel As Integer _
) As Integer
public virtual int Paint(
IntPtr hdc,
RECT[] prc,
uint pColor,
uint pColorText,
int fSel
)
public:
virtual 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
override Paint :
hdc:IntPtr *
prc:RECT[] *
pColor:uint32 *
pColorText:uint32 *
fSel:int -> int
public function Paint(
hdc : IntPtr,
prc : RECT[],
pColor : uint,
pColorText : uint,
fSel : int
) : int
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.
Implements
IVsSmartTagTipWindow.Paint(IntPtr, array<RECT[], UInt32, UInt32, Int32)
.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.