This topic has not yet been rated - Rate this topic

EM_SETPARAFORMAT message

Applies to: desktop apps only

Sets the paragraph formatting for the current selection in a rich edit control.

Parameters

wParam

This parameter is not used; it must be zero.

lParam

Pointer to a PARAFORMAT structure specifying the new paragraph formatting attributes. Only the attributes specified by the dwMask member are changed.

Microsoft Rich Edit 2.0 and later: This parameter can be a pointer to a PARAFORMAT2 structure, which is an extension of the PARAFORMAT structure. Before sending the EM_SETPARAFORMAT message, set the structure's cbSize member to indicate the version of the structure.

Return value

If the operation succeeds, the return value is a nonzero value.

If the operation fails, the return value is zero.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Richedit.h

See also

Reference
PARAFORMAT
PARAFORMAT2

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ