VsTextTipWindowClass.Paint Method
Paints the tip window.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Public Overridable Function Paint ( _
hdc As IntPtr, _
prc As RECT() _
) As Integer
public virtual int Paint(
IntPtr hdc,
RECT[] prc
)
public:
virtual int Paint(
[InAttribute] IntPtr hdc,
[InAttribute] array<RECT>^ prc
)
abstract Paint :
hdc:IntPtr *
prc:RECT[] -> int
override Paint :
hdc:IntPtr *
prc:RECT[] -> int
public function Paint(
hdc : IntPtr,
prc : RECT[]
) : int
Parameters
- hdc
Type: System.IntPtr
[in] Handle to the display context in which to draw the tip window.
- prc
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[]
[in] Specifies the bounding rectangle for the tip window.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsTextTipWindow.Paint(IntPtr, array<RECT[])
.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.