共用方式為


CMFCToolBarComboBoxButton::SetDropDownHeight

Sets the height of the list box when it is dropped down.

void SetDropDownHeight(
   int nHeight 
);

Parameters

  • [in] nHeight
    The height, in pixels, of the list box.

Remarks

The default height is 150 pixels.

Requirements

Header: afxtoolbarcomboboxbutton.h

See Also

Reference

CMFCToolBarComboBoxButton Class

Hierarchy Chart