Click here for NewsObjects Overview
ForeColor Property
Windows - Visual C++


Stock Property

Description
The ForeColor property returns or sets the color used to display text in the control.

Syntax
void SetForeColor(OLE_COLOR color);
OLE_COLOR color = GetBackColor();

The ForeColor syntax has these parts:

 Part

Description

color

A value or constant that determines the text color of the control, as described in Remarks.

Remarks
The color can be either normal RGB (red, green, blue) or system default colors. Normal RGB colors are specified by using the Visual C++ color palette or by using the Visual C++ RGB or QBColor functions. System default colors are listed in the Visual C++ object library in the Object Browser. The user's choices will be substituted as specified in the Control Panel settings.

See Also: BackColor

Back to: Feed Properties Headline Properties Quote Properties Story Properties