MSDN Home >  MSDN Library >  User Interface Design and Development >  Windows Controls >  Individual Control Information >  Rich Edit Controls > 

EM_SETWORDBREAKPROCEX Message


The EM_SETWORDBREAKPROCEX message sets the extended word-break procedure.

Syntax

To send this message, call the SendMessage function as follows.
lResult = SendMessage(     // returns LRESULT in lResult
   (HWND) hWndControl,     // handle to destination control
   (UINT) EM_SETWORDBREAKPROCEX,     // message ID
   (WPARAM) wParam,     // = (WPARAM) () wParam;
   (LPARAM) lParam     // = (LPARAM) () lParam;
);

Parameters

wParam
This parameter is not used; it must be zero.
lParam
Pointer to an EditWordBreakProcEx function or NULL to use the default procedure.

Return Value

This message returns the address of the previous extended word-break procedure.


Message Information

HeaderDeclared in Richedit.h
Minimum operating systems Windows 95, Windows NT 4.0

See Also

Rich Edit Controls, EditWordBreakProcEx, EM_GETWORDBREAKPROCEX
 Contact Us   |  E-Mail this Page   |  MSDN Flash Newsletter
 c 2002 Microsoft Corporation. All rights reserved.   Terms of Use  Privacy Statement   Accessibility