CHARRANGE structure (richedit.h)
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | richedit.h |
See also
Reference
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for