EM_DISPLAYBAND

The EM_DISPLAYBAND message displays a portion of a rich edit control's contents, as previously formatted for a device using the EM_FORMATRANGE message.

EM_DISPLAYBAND 
wParam = 0; 
lParam = (LPARAM) (LPRECT) lprc; 
 

Parameters

lprc
Pointer to a RECT structure specifying the area of the device to display to.

Return Values

If the operation succeeds, the return value is TRUE.

If the operation fails, the return value is FALSE.

Remarks

Text and OLE objects are clipped by the rectangle. The application does not need to set the clipping region.

QuickInfo

  Windows NT: Requires version 3.51 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in richedit.h.

See Also

Rich Edit Controls Overview, Rich Edit Messages, EM_FORMATRANGE, RECT