CRichEditCtrl::DisplayBand
TOC
Collapse the table of content
Expand the table of content

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 
);

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 Windows SDK.

Example

See the example for CRichEditCtrl::FormatRange.

Requirements

Header: afxcmn.h

Show:
© 2016 Microsoft