共用方式為


CMFCToolBarFontComboBox::GetFontDesc

Returns a pointer to the CMFCFontInfo object for a specified index in the combo box.

const CMFCFontInfo* GetFontDesc(
   int iIndex=-1 
) const;

Parameters

  • [in] iIndex
    Specifies the zero-based index of a combo box item.

Return Value

A pointer to a CMFCFontInfo object. If iIndex does not specify a valid item index, the return value is NULL.

Requirements

Header: afxtoolbarfontcombobox.h

See Also

Reference

CMFCToolBarFontComboBox Class

Hierarchy Chart

CMFCFontInfo Class