This documentation is archived and is not being maintained.

CRichEditCtrl::DisplayBand 

Displays a portion of the contents of the rich edit control (text and OLE items), as previously formatted by FormatRange.


BOOL DisplayBand(
   LPRECT pDisplayRect 
);

Parameters

pDisplayRect

Pointer to a RECT or CRect object specifying the area of the device to display the text.

Nonzero if the display of the formatted text succeeds, otherwise, 0.

The text and OLE items are clipped to the area specified by the pointer pDisplayRect.

For more information, see EM_DISPLAYBAND in the Platform SDK.

See the example for CRichEditCtrl::FormatRange.

Show: