KHYPH enumeration (richedit.h)

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

 
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.

Remarks

Hyphenation rules are specific for each language; not all hyphenation types are valid for a given language.

Requirements

   
Minimum supported client Windows XP with SP1 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header richedit.h

See also

HYPHRESULT

HyphenateProc

Reference