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:
 
| 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. | 
Returns the current word-wrapping and word-breaking options.
This message must not be sent by the application-defined word-breaking procedure.
  Windows NT: Requires version 3.51 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in richedit.h.
Rich Edit Controls Overview, Rich Edit Messages