Share via


IVoIPDisplayItem::NeedsToolTip (Windows Embedded CE 6.0)

1/6/2010

This method determines if this display item needs a tooltip. An item needs a tooltip if all of its text cannot fit within the specified rectangle. If the item needs a tooltip, the parent listbox will display one on the item's behalf.

Syntax

BOOL  NeedsToolTip(
       RECT* pRectangle
);

Parameters

  • pRectangle
    [in] Rectangle that gives the dimensions of the item in question.

Return Value

This method, as part of the base class, always returns either S_FALSE or E_NOTIMPL. It is optionally implemented by any classes that derive from the IVoIPDisplayItem interface.

Remarks

Note

This documentation applies to functionality implemented in sample code for PhCommon. For more information, see PhCommon Reference.

Requirements

Header displayitem.hpp
Library PhCommon.dll
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

IVoIPDisplayItem
PhCommon Reference