Partager via


IVsEnhancedDataTip.Show(IntPtr, POINT[], RECT[]) Method

Definition

Displays the enhanced DataTip.

public:
 int Show(IntPtr hwndOwner, cli::array <Microsoft::VisualStudio::OLE::Interop::POINT> ^ pptTopLeft, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pHotRect);
public int Show (IntPtr hwndOwner, Microsoft.VisualStudio.OLE.Interop.POINT[] pptTopLeft, Microsoft.VisualStudio.OLE.Interop.RECT[] pHotRect);
abstract member Show : nativeint * Microsoft.VisualStudio.OLE.Interop.POINT[] * Microsoft.VisualStudio.OLE.Interop.RECT[] -> int
Public Function Show (hwndOwner As IntPtr, pptTopLeft As POINT(), pHotRect As RECT()) As Integer

Parameters

hwndOwner
IntPtr

nativeint

[in] The handle of the Window (HWND) in which to display the DataTip.

pptTopLeft
POINT[]

[in] Pointer to a POINT structure indicating the location of the top left corner of the DataTip.

pHotRect
RECT[]

[in] Pointer to a RECT structure marking the hot area of the DataTip—the area where a mouse-click will be responded to.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsEnhancedDataTip::Show(  
   [in] HWND hwndOwner,   
   [in] POINT* pptTopLeft,   
   [in] RECT* pHotRect  
);  

Applies to