CRichEdit.SetParaFormatmethod
Sets the paragraph formatting for the current selection in a rich edit control.
Syntax
FUNCTION 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/CRichEdit.inc:1126
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class