CRichEditCtrl::DisplayBand

BOOL DisplayBand( LPRECT pDisplayRect );

Return Value

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

Parameters

pDisplayRect

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

Remarks

Call this function to display a portion of the contents of the rich edit control (text and OLE items), as previously formatted by FormatRange. The text and OLE items are clipped to the area specified by the pointer pDisplayRect.

For more information, see in the Win32 documentation.

Example

See the example for CRichEditCtrl::FormatRange.

CRichEditCtrl OverviewClass MembersHierarchy Chart

See Also   CRichEditCtrl::FormatRange