VsSmartTagTipWindowClass.Paint(IntPtr, RECT[], UInt32, UInt32, Int32) Methode

Definition

Rendert das Tipp Fenster.

public:
 virtual int Paint(IntPtr hdc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prc, System::UInt32 pColor, System::UInt32 pColorText, int fSel) = Microsoft::VisualStudio::TextManager::Interop::IVsSmartTagTipWindow::Paint;
public virtual int Paint (IntPtr hdc, Microsoft.VisualStudio.OLE.Interop.RECT[] prc, uint pColor, uint pColorText, int fSel);
abstract member Paint : nativeint * Microsoft.VisualStudio.OLE.Interop.RECT[] * uint32 * uint32 * int -> int
override this.Paint : nativeint * Microsoft.VisualStudio.OLE.Interop.RECT[] * uint32 * uint32 * int -> int
Public Overridable Function Paint (hdc As IntPtr, prc As RECT(), pColor As UInteger, pColorText As UInteger, fSel As Integer) As Integer

Parameter

hdc
IntPtr

Das Gerätekontext handle.

prc
RECT[]

[in] Koordinaten des umgebenden Rechtecks.

pColor
UInt32

[in] Die Farb-ID.

pColorText
UInt32

in Die Textfarbe-ID.

fSel
Int32

in Flag zum angeben, ob das Fenster ausgewählt ist.

Gibt zurück

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Implementiert

Gilt für