Edit_SetWordBreakProc macro (windowsx.h)

Replaces an edit control's default Wordwrap function with an application-defined Wordwrap function. You can use this macro or send the EM_SETWORDBREAKPROC message explicitly.

Syntax

void Edit_SetWordBreakProc(
   hwndCtl,
   lpfnWordBreak
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

lpfnWordBreak

Type: EDITWORDBREAKPROC

The address of the application-defined Wordwrap function. For more information about breaking lines, see the description of the EditWordBreakProc callback function.

Return value

None

Remarks

For more information, see EM_SETWORDBREAKPROC.

Requirements

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