CMFCRibbonStatusBarPane::SetAlmostLargeText

Define the longest text that can be displayed in the status bar pane without truncation.

void SetAlmostLargeText(
   LPCTSTR lpszAlmostLargeText 
);

Parameters

  • [in] lpszAlmostLargeText
    Specifies the longest string that can be displayed on the status bar pane without truncation.

Remarks

The library calculates the size of text that lpszAlmostLargeText specifies and resizes the pane accordingly. The text will be truncated if it still does not fit in the pane.

Requirements

Header: afxribbonstatusbarpane.h

See Also

Reference

CMFCRibbonStatusBarPane Class

Hierarchy Chart