CRichEditCtx.WordBreakProcExproperty
Syntax
PROPERTY WordBreakProcEx () AS LONG_PTR
PROPERTY WordBreakProcEx (BYVAL pfn AS LONG_PTR)
Also documented as
WordBreakProc — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
pfn | Pointer to an EditWordBreakProcEx function, or NULL to use the default procedure. |
Return value
The return value specifies the address of the application-defined word-break function. The return value is NULL if no word-break function exists.
Description
Gets/sets the address of the currently registered word-break procedure.
Gets/sets the address of the currently registered extended word-break procedure.
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.
Reference
- Defined in AfxNova/CRichEditCtx.inc:2662
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class