EM_SETPARAFORMAT WIN3200000001.gif WIN3200000003.gif WIN3200000002.gif

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