Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Properties

m_bEnableButtonCustomColor If true, indicates that the color picker pop-up menu has the Custom Color button, with which the user can activate the CExtColorDlg color picker dialog.
m_bEnableButtonDefaultColor �If true, indicates that the color picker pop-up menu has the Default Color button, with wich the used can reset the current color to the color specified in m_clrDefault.
m_bEnableButtonRandomColor �If true, indicates that the color picker pop-up menu has the Random Color button.
m_clrDefault Specifies the default color.
m_PackedColor Internal data structure which stores the color value.
m_sBtnTextColorCustom Specifies the text displayed on the Custom Color button in the color picker menu.
m_sBtnTextColorDefault Specifies the text displayed on the Default Color button in the color picker menu.
m_sBtnTextColorRandom Specifies the text displayed on the Random Color button in the color picker menu.
m_sizeIcon Specifies the size of the color box inside the cell.

Classes

CExtGridCellColor Constructors.
Clear Clears the color value. The empty color value is the explicitly defined black color.
GetColor Returns the color value.
GetColorName Returns the color name that corresponds to the specified RGB value or NULL if there is no name assigned to the specified RGB value.
GetColorRGB Returns the RGB value that corresponds to the specified color name.
GetMode Returns the current display mode.
GetSysColorIdx Returns the system color index.
IsSysColor Returns true if the color object stores the system color index.
SetColor Sets the color value or system color index.
SetMode Sets the new display mode and returns the previous value.
SetRandomizedColor Sets the random color value generated from the specified RGB color layer ranges.

Overridables

OnFormatCellText Called to format the color value into the string object specified by the strText parameter. This method is used to convert the color value into the string representation.
OnParseColor Parses the text specified by the sText parameter to the color value.
OnQueryListSeparator Called to retrieve the separator symbol that is used to separate the red, green, blue, and alpha color values in the color cell.

See Also

CExtGridCellColor Overview | Hierarchy Chart