Muokkaa

Jaa


EM_GETWORDBREAKPROC message

Gets the address of the current Wordwrap function. You can send this message to either an edit control or a rich edit control.

Parameters

wParam

Not used; must be zero.

lParam

Not used; must be zero.

Return value

The return value specifies the address of the application-defined Wordwrap function. The return value is NULL if no Wordwrap function exists.

Remarks

A Wordwrap function scans a text buffer that contains text to be sent to the display, looking for the first word that does not fit on the current display line. The wordwrap function places this word at the beginning of the next line on the display. A Wordwrap function defines the point at which the system should break a line of text for multiline edit controls, usually at a space character that separates two words.

Rich Edit: Supported in Microsoft Rich Edit 1.0 and later. For information about the compatibility of rich edit versions with the various system versions, see About Rich Edit Controls.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

Reference

EditWordBreakProc

EM_FMTLINES

EM_SETWORDBREAKPROC