IVsTipWindow.Paint Method

Paints the ToolTip window.

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

Syntax

'宣言
Function Paint ( _
    hdc As IntPtr, _
    prc As RECT() _
) As Integer
'使用
Dim instance As IVsTipWindow
Dim hdc As IntPtr
Dim prc As RECT()
Dim returnValue As Integer

returnValue = instance.Paint(hdc, prc)
int Paint(
    IntPtr hdc,
    RECT[] prc
)
int Paint(
    [InAttribute] IntPtr hdc, 
    [InAttribute] array<RECT>^ prc
)
function Paint(
    hdc : IntPtr, 
    prc : RECT[]
) : int

Parameters

  • hdc
    Type: System.IntPtr

    [in] Handle to the display context in which to draw the ToolTip window.

  • prc
    Type: []

    [in] Specifies the bounding rectangle for the ToolTip window.

Return Value

Type: System.Int32

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTipWindow::Paint(
   [in] HDC hdc,
   [in] const RECT *prc
);

This method is implemented by the environment and typically only called by the view. You do not need to implement this method.

Permissions

See Also

Reference

IVsTipWindow Interface

IVsTipWindow Members

Microsoft.VisualStudio.TextManager.Interop Namespace