共用方式為


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

Reference

CMFCColorBar Class

Hierarchy Chart