EM_DISPLAYBAND message

Displays a portion of the contents of a rich edit control, as previously formatted for a device using the EM_FORMATRANGE message.

Parameters

wParam

This parameter is not used; it must be zero.

lParam

A RECT structure specifying the display area of the device.

Return value

If the operation succeeds, the return value is TRUE.

If the operation fails, the return value is FALSE.

Remarks

Text and Component Object Model (COM) objects are clipped by the rectangle. The application does not need to set the clipping region.

Banding is the process by which a single page of output is generated using one or more separate rectangles, or bands. When all bands are placed on the page, a complete image results. This approach is often used by raster printers that do not have sufficient memory or ability to image a full page at one time. Banding devices include most dot matrix printers as well as some laser printers.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Richedit.h

See also

Printing Rich Edit Controls