EM_SETPARAFORMAT

The EM_SETPARAFORMAT message sets the paragraph formatting for the current selection in a rich edit control.

EM_SETPARAFORMAT

wParam = 0; // not used; must be zero

lParam = (LPARAM) (PARAFORMAT FAR *) lpFmt;

Parameters

lpFmt

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

Return Values

Returns a nonzero value if successful, or zero otherwise.

See Also

PARAFORMAT