Creates a Windows control and performs additional initializations
You construct a CBCGPColorBar object in two steps. First, call the constructor, then call Create(), which creates the Windows control and initializes a list of colors. When creating, you can apply the regular control bar styles.
- Parameters
-
pParentWnd | The parent window |
dwStyle | The window style. |
nID | The command ID. |
pPalette | A pointer to palette. |
nColumns | The number of columns. |
nRowsDockHorz | The number of rows when docked horizontally. |
nColDockVert | The number of columns when docked vertically. |