Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains values used to specify how to do hyphenation in a rich edit control. The HyphenateProc callback function uses this enumeration type.
Syntax
typedef enum tagKHYPH {
khyphNil,
khyphNormal,
khyphAddBefore,
khyphChangeBefore,
khyphDeleteBefore,
khyphChangeAfter,
khyphDelAndChange
} KHYPH;
Constants
khyphNilNo hyphenation is allowed. |
khyphNormalDo not change any characters during hyphenation. |
khyphAddBeforeAdd a letter before the hyphenation mark. |
khyphChangeBeforeChange the letter before the hyphenation mark. |
khyphDeleteBeforeDelete the letter before the hyphenation mark. |
khyphChangeAfterChange the letter after the hyphenation mark. |
khyphDelAndChangeThe two letters before the hyphenation mark are replaced by one character; see the chHyph member of HYPHRESULT. |
Remarks
Hyphenation rules are specific for each language; not all hyphenation types are valid for a given language.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP with SP1 [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | richedit.h |
See also
Reference