次の方法で共有


IVsTipWindow.Paint(IntPtr, RECT[]) Method

Definition

Paints the ToolTip window.

public:
 int Paint(IntPtr hdc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prc);
public int Paint (IntPtr hdc, Microsoft.VisualStudio.OLE.Interop.RECT[] prc);
abstract member Paint : nativeint * Microsoft.VisualStudio.OLE.Interop.RECT[] -> int
Public Function Paint (hdc As IntPtr, prc As RECT()) As Integer

Parameters

hdc
IntPtr

nativeint

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

prc
RECT[]

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

Returns

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.

Applies to