Dela via


CMFCColorBar::CalcSize

Called by the framework as part of the layout calculation process.

virtual CSize CalcSize(
   BOOL bVertDock 
);

Parameters

  • [in] bVertDock
    TRUE to specify that the color bar control is docked vertically; FALSE to specify that the color bar control is docked horizontally.

Return Value

The size of the array of color buttons in a color bar control.

Requirements

Header: afxcolorbar.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCColorBar Class