Share via


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

'Declaration
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

  • 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

See Also

Reference

VsSmartTagTipWindowClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace