CHARRANGE  1XEMQV4 

The CHARRANGE structure specifies a range of characters in a rich edit control. This structure is used with the EM_EXGETSEL1YVLZIR and EM_EXSETSEL20VLZIR messages.

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

typedef struct _charrange { 

    LONG cpMin;

    LONG cpMax;

} CHARRANGE;

 

Members

cpMin

Index of first intercharacter position.

cpMax

Index of last intercharacter position.

 

EM_EXGETSEL1YVLZIR, EM_EXSETSEL20VLZIR