VsMethodTipWindowClass.GetSizePreferences(RECT[], TIPSIZEDATA[]) Method

Definition

Returns the preferred sizes for the tip window.

public:
 virtual int GetSizePreferences(cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prcCtxBounds, cli::array <Microsoft::VisualStudio::TextManager::Interop::TIPSIZEDATA> ^ pSizeData) = Microsoft::VisualStudio::TextManager::Interop::IVsMethodTipWindow::GetSizePreferences;
public:
 virtual int GetSizePreferences(cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prcCtxBounds, cli::array <Microsoft::VisualStudio::TextManager::Interop::TIPSIZEDATA> ^ pSizeData);
 virtual int GetSizePreferences(std::Array <Microsoft::VisualStudio::OLE::Interop::RECT> const & prcCtxBounds, std::Array <Microsoft::VisualStudio::TextManager::Interop::TIPSIZEDATA> const & pSizeData);
public virtual int GetSizePreferences (Microsoft.VisualStudio.OLE.Interop.RECT[] prcCtxBounds, Microsoft.VisualStudio.TextManager.Interop.TIPSIZEDATA[] pSizeData);
abstract member GetSizePreferences : Microsoft.VisualStudio.OLE.Interop.RECT[] * Microsoft.VisualStudio.TextManager.Interop.TIPSIZEDATA[] -> int
override this.GetSizePreferences : Microsoft.VisualStudio.OLE.Interop.RECT[] * Microsoft.VisualStudio.TextManager.Interop.TIPSIZEDATA[] -> int
Public Overridable Function GetSizePreferences (prcCtxBounds As RECT(), pSizeData As TIPSIZEDATA()) As Integer

Parameters

prcCtxBounds
RECT[]

[out]The bounding rectangle of the tip window in screen coordinates.

pSizeData
TIPSIZEDATA[]

[out]Size and position of the tip window. For a list of pSizeData values see TIPSIZEDATA.

Returns

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

Implements

Applies to