CPane::SetActiveInGroup

Flags a pane as active.

virtual void SetActiveInGroup(
   BOOL bActive
);

Parameters

  • [in] bActive
    A BOOL that specifies whether the pane is flagged as active.

Remarks

When a dockable pane is shown or an auto-hide button is chosen, the corresponding auto-hide pane is marked as active.

The appearance of an auto-hide button that is associated with the pane is based on two factors. If the pane is active, and the staticBOOLCMFCAutoHideButton::m_bOverlappingTabs is TRUE, the framework displays the auto-hide button as an icon and a label. For an inactive pane, the framework displays only the auto-hide icon.

If CMFCAutoHideButton::m_bOverlappingTabs is FALSE, or if the pane is not located in a group, the framework displays the associated auto-hide button as an icon and a label.

Requirements

Header: afxpane.h

See Also

Reference

CPane Class

Hierarchy Chart