Location:
gulutil.h
Link against: egul.lib
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 MaximumWidthInPixels()
, 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 specified font
Defined in TFindWidthOfWidestAmPmName
:
GetFirstAndLastIndex()
, GetTextItem()
, TFindWidthOfWidestAmPmName()
Inherited from TFindWidthOfWidestTextItem
:
MaximumWidthInPixels()