共用方式為


CMFCRibbonPanel::SetCenterColumnVert

Enables or disables the centering of the vertical positions of ribbon elements within their display rectangle.

void SetCenterColumnVert(
    BOOL bSet = TRUE
);

Parameters

  • [in] bSet
    TRUE to center the vertical positions of ribbon elements within their display rectangle; FALSE to disable this feature.

Requirements

Header: afxRibbonPanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart