共用方式為


CPane::SetExclusiveRowMode

Enables or disables the exclusive row mode.

virtual void SetExclusiveRowMode(
    BOOL bExclusive = TRUE
);

Parameters

  • [in] bExclusive
    TRUE to enable exclusive row mode; otherwise, FALSE.

Remarks

Call this method to enable or disable exclusive row mode. When a pane is in exclusive row mode, it cannot share the same row with any other toolbars.

By default, all toolbars have exclusive row mode disabled and the menu bar has exclusive row mode enabled.

Requirements

Header: afxPane.h

See Also

Reference

CPane Class

Hierarchy Chart