Click here for NewsObjects Overview
GetNewsWireForeColor Method (Headline Control)
Windows - Visual C++


Description
The GetNewsWireForeColor method returns the text color for headlines associated with the specified newswire.

Syntax
unsigned long color = GetNewsWireForeColor(LPCTSTR newsWireCode);

The GetNewsWireoreColor syntax has these parts:

 Part

Description

newsWireCode

A String containing a two-letter code representing the newswire.

color

Return value. A value or constant that determines the text color of headlines associated with the newswire, 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: SetNewsWireForeColor GetNewsWireBackColor

Back to: Headline Methods