CRichEdit.SetEditStylemethod
Sets the current edit style flags.
Syntax
FUNCTION SetEditStyle (BYVAL hRichEdit AS HWND, BYVAL fStyle AS LONG, BYVAL fMask AS LONG) AS DWORD
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
fStyle | Specifies one or more edit style flags. For a list of possible values, see GetEditStyle. | |
fMask | A mask consisting of one or more of the fTSFkbd values. Only the values specified in this mask will be set or cleared. This allows a single flag to be set or cleared without reading the current flag states. |
Return value
The return value is the state of the edit style flags after the rich edit control has attempted to implement your edit style changes. The edit style flags are a set of flags that indicate the current edit style.
Description
Sets the current edit style flags.
Reference
- Defined in AfxNova/CRichEdit.inc:986
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class