CRichEditCtx.Punctuationmethod
Gets/sets the current punctuation characters for the rich edit control.
Syntax
PRIVATE PROPERTY CRichEditCtx.Punctuation (BYVAL punctype AS DWORD) AS .PUNCTUATION
Parameters
| Name | Description | |
|---|---|---|
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. | |
punct | 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
Gets/sets the current punctuation characters for the rich edit control.
Example
(GET) PROPERTY Punctuation (BYVAL punctype AS DWORD) AS .PUNCTUATION (SET) PROPERTY Punctuation (BYVAL punctype AS LONG, BYREF punct AS .PUNCTUATION)
Reference
- Defined in AfxNova/CRichEditCtx.inc:1578
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class