EditWordBreakProcEx
[Now
Supported on Windows NT]
An application-supplied
callback function that determines the character index of the word break, or the
character class and word break flags of the characters in the specified text.
LONG EditWordBreakProcEx(
char *pchText, |
|
LONG cchText, |
|
BYTE bCharSet, |
|
INT code |
|
); |
|
Parameters
pchText
Pointer to
the text at the current position. If code specifies movement to the
left, the text is in the elements pchText[-1] through pchText[-cchText]
and pchText[0] is undefined. For all other actions, the text is in the
elements pchText[0] through pchText[cchText - 1].
cchText
Number of
characters in the buffer in the direction specified by code.
bCharSet
Character set
of the text.
code
Wordbreak
action to take. Can be one of the values described for the code
parameter in the EM_FINDWORDBREAK message.
Return Values
Returns the
character index of the word break, unless the code parameter is the
WB_CLASSIFY or WB_ISDELIMITER value.
See Also