HYPHRESULT structure (richedit.h)

Contains information about the result of hyphenation in a Microsoft Rich Edit control.

Syntax

typedef struct hyphresult {
  KHYPH khyph;
  long  ichHyph;
  WCHAR chHyph;
} HYPHRESULT;

Members

khyph

Type: KHYPH

The type of hyphenation.

ichHyph

Type: LONG

The index of the WCHAR in the passed string where hyphenation occurred.

chHyph

Type: WCHAR

The character used when hyphenation requires a replacement or an addition or a change. If no new character is needed, the value is zero.

Remarks

This structure is used with the HYPHENATEINFO structure.

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

HYPHENATEINFO

KHYPH

Reference