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

Classes

~CExtColorPaletteWnd Destructor.
CExtColorPaletteWnd Constructor.
CpwBackgroundColorGet Returns the current background color.
CpwBackgroundColorSet Sets a new background color and returns the previous foreground color.
CpwColorArrayGet Returns a reference to the array of the colors that are displayed in the client area.
CpwColorArrayGetAt Returns the color value by index.
CpwColorArrayGetCount Returns the number of the palette colors.
CpwColorArraySet Sets or appends a color palette.
CpwColorArraySetAt Modifies the color value in the palette.
CpwColorGetIndexOf Returns an index of the palette color. Returns -1, if no color is found.
CpwColumnCountMaxGet Returns the maximal number of the columns.
CpwColumnCountMaxSet Sets the maximal number of the columns.
CpwColumnCountMinGet Returns the minimal number of the columns.
CpwColumnCountMinSet Sets the minimal number of the columns.
CpwEnsureUniqueColorValues Removes non-unique colors from the color palette.
CpwForegroundColorGet Returns the current foreground color.
CpwForegroundColorSet Sets a new foreground color and returns the previous foreground color.
CpwGetStyle Returns the color palette window styles.
CpwHitTest Performs hit-testing. Returns an index of the color in the palette, __ECPW_CELL_INDEX_FOREGROUND for the foreground color, __ECPW_CELL_INDEX_BACKGROUND for the background color, or __ECPW_CELL_INDEX_INVALID if ptClient specifies no color cell.
CpwModifyStyle Modifies color palette window styles and returns the previous styles.
CpwRedrawWnd Redraws the color palette window with recalculating color cell positions.������� .
Create Creates the color palette window.
OnCpwActiveColorChange The method is used when the foreground/background color has been changed.
OnCpwCalcActiveColorRects The method is used for calculating positions of the foreground color cell and the background color cell.
OnCpwCalcColumnCount The method is used for calculating the current numbers of columns.
OnCpwCalcItemRect The method is used for calculating the position of a color cell.
OnCpwCalcRowRange The method is used for calculating indices of the first and last colors in the row.
OnCpwCalcTotalHeight The method is used for calculating the total height of the color palette in pixels.
OnCpwCalcVisibleRowRange The method is used for calculating indices of the first and last visible rows.
OnCpwGetTooltipText The method is used for receiving the tooltip text.
OnCpwItemClicked The method is used when pressing/releasing the left/right mouse button over a color cell.
OnCpwMeasureSizes Performs geometric calculations.
OnCpwPaintItem The method is used for drawing the cell. If nItemID is greater than or equal to zero, the method draws the cell of the color palette. If nItemID is equal to __ECPW_CELL_INDEX_FOREGROUND, the cell with the foreground color is drawn. If nItemID is equal to __ECPW_CELL_INDEX_BACKGROUND, the cell with the background color is drawn.

See Also

CExtColorPaletteWnd Overview | Hierarchy Chart