Export (0) Print
Expand All

SELCHANGE structure

Contains information associated with an EN_SELCHANGE notification code. A rich edit control sends this notification to its parent window when the current selection changes.

Syntax


typedef struct _selchange {
  NMHDR     nmhdr;
  CHARRANGE chrg;
  WORD      seltyp;
} SELCHANGE;

Members

nmhdr

Type: NMHDR

Notification header.

chrg

Type: CHARRANGE

New selection range.

seltyp

Type: WORD

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.

ValueMeaning
SEL_TEXT

Text.

SEL_OBJECT

At least one COM object.

SEL_MULTICHAR

More than one character of text.

SEL_MULTIOBJECT

More than one COM object.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Richedit.h

See also

EN_SELCHANGE

 

 

Community Additions

ADD
Show:
© 2014 Microsoft