导航:  Windows Controls Procedures > Rich Edit Control > Structures >

HYPHENATEINFO

上一页返回章节概述下一页

描述

 

The HYPHENATEINFO structure contains information about hyphenation in a Microsoft Rich Edit control.

 

C/C++ 语法

 

typedef struct tagHyphenateInfo {

SHORT cbSize;

SHORT dxHyphenateZone;

PFNHYPHENATEPROC pfnHyphenate;

} HYPHENATEINFO;

 

FreeBasic Syntax

 

TYPE HYPHENATEINFO

cbSize          AS SHORT

dxHyphenateZone AS SHORT

pfnHyphenate    AS SUB(BYVAL aS WSTRING PTR, BYVAL AS LANGID, _

                     BYVAL AS LONG, BYVAL AS HYPHRESULT PTR)

END TYPE

 

成员

 

cbSize

 

Size of the HYPHENATEINFO structure, in bytes.

 

dxHyphenateZone

 

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

 

Pointer to the client-defined HyphenateProc callback function.

 

备注

 

This structure is used with the EM_GETHYPHENATEINFO and EM_SETHYPHENATEINFO messages.

 

最低操作系统

 

Windows XP SP1.