TFindWidthOfWidestMonthName Class Reference

class TFindWidthOfWidestMonthName : public TFindWidthOfWidestTextItem

Finds the width in pixels of the widest month name, when displayed in a specified font.

After construction, call MaximumWidthInPixels() , defined in the base class, specifying the font.

Inherits from

Constructor & Destructor Documentation

TFindWidthOfWidestMonthName()

IMPORT_C TFindWidthOfWidestMonthName ( )

Default constructor.

Member Functions Documentation

GetFirstAndLastIndex(TInt &, TInt &)

void GetFirstAndLastIndex ( TInt & aFirstIndex,
TInt & aLastIndex
) const [private, virtual]

Gets the first and last index in the range of items.

Parameters

TInt & aFirstIndex On return, the first index.
TInt & aLastIndex On return, the last index.

GetTextItem(TDes &, TInt)

void GetTextItem ( TDes & aText,
TInt aIndex
) const [private, virtual]

Gets the text item at the specfied index.

Parameters

TDes & aText On return, the indexed text item.
TInt aIndex The index.