HYPHENATEINFO structure (richedit.h)

Contains information about hyphenation in a Microsoft Rich Edit control.

Syntax

typedef struct tagHyphenateInfo {
  SHORT cbSize;
  SHORT dxHyphenateZone;
  void((WCHAR *,LANGID, long,HYPHRESULT *) * )pfnHyphenate;
} HYPHENATEINFO;

Members

cbSize

Type: SHORT

Size of the HYPHENATEINFO structure, in bytes.

dxHyphenateZone

Type: SHORT

Size, in TWIPS (one TWIP is 1/1440 inch), of the area near the margin that excludes hyphenation. If a space character is closer to the margin than this value, do not hyphenate the following word.

pfnHyphenate

Type: PFNHYPHENATEPROC

The client-defined HyphenateProc callback function.

Remarks

This structure is used with the EM_GETHYPHENATEINFO and EM_SETHYPHENATEINFO messages.

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

EM_GETHYPHENATEINFO

EM_SETHYPHENATEINFO

HyphenateProc

Reference