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

SELCHANGE

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

描述

 

The SELCHANGE structure contains information associated with an EN_SELCHANGE notification message. A rich edit control sends this notification to its parent window when the current selection changes.

 

C/C++ 语法

 

typedef struct _selchange {

NMHDR nmhdr;

CHARRANGE chrg;

WORD seltyp;

} SELCHANGE;

 

FreeBasic Syntax

 

TYPE SELCHANGE

nmhdr   AS NMHDR

chrg    AS CHARRANGE

seltyp  AS WORD

END TYPE

 

成员

 

nmhdr

 

Notification header.

 

chrg

 

New selection range.

 

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

Text.

SEL_OBJECT

At least one Component Object Model (COM) object.

SEL_MULTICHAR

More than one character of text.

SEL_MULTIOBJECT

More than one COM object.

 

最低操作系统

 

Windows 95, Windows NT 4.0.