Help Center

CRichEdit.GetPunctuationmethod

Retrieves the current punctuation characters for the rich edit control.

Windowsmethoddocumented

Syntax

FUNCTION GetPunctuation (BYVAL hRichEdit AS HWND, BYVAL punctype AS DWORD, BYVAL lppunct AS PUNCTUATION PTR) AS LONG

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
punctypeThe 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
lppunctPointer 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