共用方式為


CMFCRibbonEdit::GetWidth

Retrieves the width, in pixels, of the CMFCRibbonEdit Class control.

int GetWidth(
   BOOL bInFloatyMode = FALSE
) const;

Parameters

  • [in] bInFloatyMode
    TRUE if the CMFCRibbonEdit Class control is in floating mode; otherwise, FALSE.

Return Value

The width, in pixels, of the CMFCRibbonEdit Class control.

Requirements

Header: afxribbonedit.h

See Also

Reference

CMFCRibbonEdit Class

Hierarchy Chart