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.
Пример
See the example for CRichEditCtrl::FormatRange.
Требования
Header: afxcmn.h