Help Center

RichEdit_SetParaFormatfunction

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

Windowsfunctiondocumented

Syntax

FUNCTION RichEdit_SetParaFormat (BYVAL hRichEdit AS HWND, BYVAL pfmt AS PARAFORMAT PTR) AS LONG

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
pfmtpointer to a PARAFORMAT structure specifying the new paragraph formatting attributes. Only the attributes specified by the dwMask member are changed.

Return value

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

If the operation fails, the return value is zero.

Description

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

Reference

  • Defined in AfxNova/AfxRichEdit.inc:941
  • Documented in Windows/WIndows Controls/RichEdit/RichEdit Procedures.md
  • Topic: RichEdit Procedures