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

CHARRANGE

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

描述

 

The 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.

 

C/C++ 语法

 

typedef struct _charrange {

LONG cpMin;

LONG cpMax;

} CHARRANGE;

 

FreeBasic Syntax

 

TYPE CHARRANGE

cpMin AS LONG

cpMax AS LONG

END TYPE

 

成员

 

cpMin

 

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

 

cpMax

 

Character position immediately following the last character in the range.

 

最低操作系统

 

Windows 95, Windows NT 4.0.