共用方式為


CMFCTabCtrl::SetActiveInMDITabGroup

Sets the current tab of a tab control as the active tab in a multiple document interface tab group.

void SetActiveInMDITabGroup(
   BOOL bActive
);

Parameters

  • [in] bActive
    TRUE to make the current tab the active tab; FALSE to make the current tab inactive.

Remarks

You can organize multiple document windows into either vertical or horizontal tab groups and easily shuffle documents from one tab group to another.

Requirements

Header: afxtabctrl.h

See Also

Reference

CMFCTabCtrl Class

Hierarchy Chart

CMFCTabCtrl::IsActiveInMDITabGroup

Kinds of Windows

Managing MDI Child Windows