Help Center

RichEdit_GetPunctuationfunction

Retrieves the current punctuation characters for the rich edit control.

Windowsfunctiondocumented

Syntax

FUNCTION RichEdit_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/AfxRichEdit.inc:413
  • Documented in Windows/WIndows Controls/RichEdit/RichEdit Procedures.md
  • Topic: RichEdit Procedures