Edit_SetWordBreakProc macro

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

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