共用方式為


CMFCToolBarFontComboBox::m_nFontHeight

Specifies the height, in pixels, of characters in the font combo box if the combo box has owner draw style.

static int m_nFontHeight

Remarks

If the m_nFontHeight variable is 0, the height is calculated automatically according to the default font of the combo box. The height includes both the ascent of characters above the baseline and the descent of characters underneath the baseline.

Requirements

Header: afxtoolbarfontcombobox.h

See Also

Reference

CMFCToolBarFontComboBox Class

Hierarchy Chart