Partager via


CDockablePane::IsHideInAutoHideMode

Determines the behavior of a pane that is in autohide mode if it is shown (or hidden) by calling CDockablePane::ShowPane.

virtual BOOL IsHideInAutoHideMode() const;

Return Value

TRUE if the dockable pane should be hidden when in autohide mode; otherwise, FALSE.

Remarks

When a dockable pane is in autohide mode, it behaves differently when you call ShowPane to hide or show the pane. This behavior is controlled by the static member CDockablePane::m_bHideInAutoHideMode. If this member is TRUE, the dockable pane and its related autohide toolbar or autohide button is hidden or shown when you call ShowPane. Otherwise, the dockable pane is activated or deactivated, and its related autohide toolbar or autohide button is always visible.

Override this method in a derived class to change the default behavior for individual panes.

The default value for m_bHideInAutoHideMode is FALSE.

Requirements

Header: afxDockablePane.h

See Also

Reference

CDockablePane Class

Hierarchy Chart

CMFCAutoHideBar Class

CMFCAutoHideButton Class