EM_SETPUNCTUATION message

Sets the punctuation characters for a rich edit control.

Note

This message is supported only in Asian-language versions of Microsoft Rich Edit 1.0. It is not supported in any later versions.

Parameters

wParam

Specifies the punctuation type, which can be one of the following values.

Value Meaning
PC_LEADING
Leading punctuation characters.
PC_FOLLOWING
Following punctuation characters.
PC_DELIMITER
Delimiter.
PC_OVERFLOW
Not supported.

lParam

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.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Richedit.h

See also

Reference

EM_GETPUNCTUATION

PUNCTUATION