CMFCColorBar::GetColorGridSize
Calculates the number of rows and columns in the grid of a color bar control.
CSize GetColorGridSize(
BOOL bVertDock
) const;
Parameters
Parameter |
Description |
---|---|
[in] bVertDock |
TRUE to perform the calculation for a vertically docked color bar control; otherwise, perform the calculation for a horizontally docked control. |
Return Value
A CSize object whose cx component contains the number of columns and whose cy component contains the number of rows.
Requirements
Header: afxcolorbar.h