|
||
class TFindWidthOfWidestAmPmName : public TFindWidthOfWidestTextItem;
Finds the width in pixels of the widest Am or Pm text, when displayed in a specified font.
After construction, call TFindWidthOfWidestTextItem::MaximumWidthInPixels(const CFont &)const
, defined in the base class, specifying the font.
TFindWidthOfWidestTextItem
- Finds the width in pixels of the widest item in a range of indexed text items.
TFindWidthOfWidestAmPmName
- Finds the width in pixels of the widest Am or Pm text, when displayed in a speci...
Defined in TFindWidthOfWidestAmPmName
:
GetFirstAndLastIndex(TInt &,TInt &)const
Gets the first and last index in the range of items.GetTextItem(TDes &,TInt)const
Gets the text item at the specfied index.TFindWidthOfWidestAmPmName()
Default constructor. Inherited from TFindWidthOfWidestTextItem
:
MaximumWidthInPixels(const CFont &)const
Gets the width in pixels of the widest item in the range, using the specified fo...