Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
-
Header File
richedit.h
Unicode
No
Platform Notes
None

EM_SETWORDWRAPMODE

Sets the word-wrapping and word-breaking options for the rich edit control. This message is available only in Asian-language versions of the operating system.

EM_SETWORDWRAPMODE
wParam = (WPARAM) (UINT) fOptions;
lParam = (LPARAM) 0:

Parameters

fOptions

Options flag. Can be a combination of the following values:

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

Return Values

Returns the current word-wrapping and word-breaking options.

Remarks

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

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples