描述
The KHYPH enumeration type indicates how to do hyphenation in a rich edit control. The HyphenateProc function uses this enumeration type.
常数
khyphNil = 0 khyphNormal = 1 khyphAddBefore = 2 khyphChangeBefore = 3 khyphDeleteBefore = 4 khyphChangeAfter = 5 khyphDelAndChange = 6 |
khyphNil |
No hyphenation is allowed. |
khyphNormal |
Do not change any characters during hyphenation. |
khyphAddBefore |
Add a letter before the hyphenation mark. |
khyphChangeBefore |
Change the letter before the hyphenation mark. |
khyphDeleteBefore |
Delete the letter before the hyphenation mark. |
khyphChangeAfter |
Change the letter after the hyphenation mark. |
khyphDelAndChange |
The two letters before the hyphenation mark are replaced by one character; see the chHyph member of HYPHRESULT. |
备注
Hyphenation rules are specific for each language; not all hyphenation types are valid for a given language.
Minimum operating systems
Windows XP SP1.