<< Return to Main Index

< Return to Class Index

CGXStyle::SetNegativeStateColor

CGXStyle& SetNegativeStateColor (DWORD color);

Color

The text color with which negative values should be displayed

Return Value

Returns the this pointer.

Remarks

Initializes the NegativeStateColor setting.

The grid checks this value in ComposeStyleRowCol and sets the text color (CGXStyle::SetTextColor) to the specified color if the value is negative.

CGXStyle

Class Overview | Class Members