Export (0) Print
Expand All
2 out of 3 rated this helpful - Rate this topic

CHARRANGE structure

Specifies a range of characters in a rich edit control.

If the cpMin and cpMax members are equal, the range is empty. The range includes everything if cpMin is 0 and cpMax is –1.

Syntax


typedef struct _charrange {
  LONG cpMin;
  LONG cpMax;
} CHARRANGE;

Members

cpMin

Type: LONG

Character position index immediately preceding the first character in the range.

cpMax

Type: LONG

Character position immediately following the last character in the range.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Richedit.h

See also

Reference
EM_EXGETSEL
EM_EXSETSEL

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.