EM_SETWORDWRAPMODE message

Sets the word-wrapping and word-breaking options 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 one or more of the following values.

Value Meaning
WBF_WORDWRAP
Enables Asian-specific word wrap operations, such as kinsoku in Japanese.
WBF_WORDBREAK
Enables English word-breaking operations in Japanese and Chinese. Enables Hangeul word-breaking operation.
WBF_OVERFLOW
Recognizes overflow punctuation. (Not currently supported.)
WBF_LEVEL1
Sets the Level 1 punctuation table as the default.
WBF_LEVEL2
Sets the Level 2 punctuation table as the default.
WBF_CUSTOM
Sets the application-defined punctuation table.

lParam

This parameter is not used; it must be zero.

Return value

This message returns the current word-wrapping and word-breaking options.

Remarks

This message must not be sent by the application defined word breaking procedure.

Requirements

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