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


Description
The RemoveProfileColors method removes the text and background colors of the headlines associated with a profile. The text and background colors return to their default values.

Syntax
void RemoveProfileColors(LPCTSTR ProfileCode);

The RemoveProfileColors syntax has these parts:

 Part

Description

ProfileCode

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

Remarks
It is more efficient to call RemoveProfileColors than to call both RemoveProfileForeColor and RemoveProfileBackColor. This method is most useful for the case when a profile has been removed.

See Also: RemoveProfileForeColor RemoveProfileBackColor SetProfileForeColor SetProfileBackColor

Back to: Headline Methods