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