CRichEdit.SetPunctuationmethod
Sets the punctuation characters for a rich edit control.
Syntax
FUNCTION SetPunctuation (BYVAL hRichEdit AS HWND, BYVAL punctype AS LONG, BYVAL ppunct AS PUNCTUATION PTR) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
punctype | Specifies the punctuation type, which can be one of the following values. PC_LEADING. Leading punctuation characters. PC_FOLLOWING. Following punctuation characters. PC_DELIMITER. Delimiter. PC_OVERFLOW. Not supported. | |
ppunct | Pointer to a PUNCTUATION structure that contains the punctuation characters. |
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 punctuation characters for a rich edit control.
Reference
- Defined in AfxNova/CRichEdit.inc:1143
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class