Creates the Windows control and performs additional initialization steps for the color bar control.
- Returns
- TRUE if the function succeeds; otherwise FALSE.
Call this function to creates the Windows control and performs additional initialization steps for the color bar control. This function builds the color table according to the bounding rectangle, the number of columns and specified by pPalette palette.
- Parameters
-
pParentWnd | Points to the parent window. Can't be NULL. |
rect | The bounding rectangle. |
nID | Control ID. |
nColumns | Number of columns. |
pPalette | The color palette to use. |