RichEdit_SetParaFormatfunction
Sets the paragraph formatting for the current selection in a rich edit control.
Syntax
FUNCTION RichEdit_SetParaFormat (BYVAL hRichEdit AS HWND, BYVAL pfmt AS PARAFORMAT PTR) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
pfmt | pointer 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