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

ENCORRECTTEXT

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

描述

 

The ENCORRECTTEXT structure contains information about the selected text to be corrected.

 

C/C++ 语法

 

typedef struct _encorrecttext {

NMHDR nmhdr;

CHARRANGE chrg;

WORD seltyp;

} ENCORRECTTEXT;

 

FreeBasic Syntax

 

TYPE ENCORRECTTEXT

nmhdr   AS NMHDR

chrg    AS CHARRANGE

seltyp  AS WORD

END TYPE

 

成员

 

nmhdr

 

An NMHDR structure. The code member of this structure identifies the notification message being sent.

 

chrg

 

A CHARRANGE structure that specifies the range of selected characters.

 

seltyp

 

Value specifying the contents of the new selection. This member is SEL_EMPTY if the selection is empty or one or more of the following values.

 

SEL_TEXT

The new selection contains text.

SEL_OBJECT

The new selection contains at least one Component Object Model (COM) object.

SEL_MULTICHAR

The new selection contains more than one character of text.

SEL_MULTIOBJECT

The new selection contains more than one COM object.

 

最低操作系统

 

Windows 95, Windows NT 4.0.