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(
  HWND hwndCtl,
  EDITWORDBREAKPROC 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

No return value.

Remarks

For more information, see EM_SETWORDBREAKPROC.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Windowsx.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft