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

COMPCOLOR

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

描述

 

The COMPCOLOR structure contains color settings for a composition string.

 

C/C++ 语法

 

typedef struct {

COLORREF crText;

COLORREF crBackground;

DWORD dwEffects;

} COMPCOLOR;

 

FreeBasic Syntax

 

TYPE COMPCOLOR

crText       AS COLORREF

crBackground AS COLORREF

dwEffects    AS DWORD

END TYPE

 

成员

 

crtext

 

Color of text. To generate a COLORREF, use the BGR macro.

 

crBackground

 

Color of background. To generate a COLORREF, use the BGR macro.

 

dwEffects

 

Character effect values as described for the dwEffects member in the CHARFORMAT structure.

 

最低操作系统

 

Windows 95, Windows NT 4.0.