typedef struct _charformat {
UINT cbSize;
DWORD dwMask;
DWORD dwEffects;
LONG yHeight;
LONG yOffset;
COLORREF crTextColor;
BYTE bCharSet;
BYTE bPitchAndFamily;
TCHAR szFaceName[LF_FACESIZE];
} CHARFORMAT;
Members
cbSize
Size in bytes of the specified structure. This member must be set before passing
the structure to the rich edit control.
大小字节的特定结构。
这个成员必须定后才通过结构,
以丰富的编辑控制。
dwMask
Members containing valid information or attributes to set. This member can be
zero, one, or more than one of the following values.
成员包含有效信息或属性设置。这个成员可以是零,一个或多个下列情形
之一的有效信息