共用方式為


CMFCTabCtrl::SetResizeMode

Specifies how the current tab control can be resized and then redisplays the control.

void SetResizeMode(
   ResizeMode resizeMode
);

Parameters

  • [in] resizeMode
    One of the CMFCTabCtrl::ResizeMode enumeration values that specifies how the tab control can be resized. For a list of possible values, see the table in Remarks.

Remarks

The resizeMode parameter can be one of the following ResizeMode enumeration values.

Name

Description

RESIZE_NO

The tab control cannot be resized.

RESIZE_VERT

The tab control can be resized vertically but not horizontally.

RESIZE_HORIZ

The tab control can be resized horizontally but not vertically.

Requirements

Header: afxtabctrl.h

See Also

Reference

CMFCTabCtrl Class

Hierarchy Chart

CMFCTabCtrl::SetResizeMode