Compartilhar via


CMFCColorBar::GetExtraHeight

Calculates the additional height that the current color bar requires to display miscellaneous user interface elements, such as the Other button or document colors.

int GetExtraHeight(
   int nNumColumns
) const;

Parameters

Parameter

Description

[in] nNumColumns

If the color bar control contains document colors, the number of columns to display in the grid of document colors. Otherwise, this value is not used.

Return Value

The calculated extra height that is required.

Requirements

Header: afxcolorbar.h

See Also

Reference

Hierarchy Chart

CMFCColorBar Class

CMFCColorBar::EnableAutomaticButton

CMFCColorBar::EnableOtherButton

CMFCColorBar::SetDocumentColors