Bagikan melalui


CDockablePane::IsVisible

Determines whether the current pane is visible.

virtual BOOL IsVisible() const;

Return Value

TRUE if the dockable pane is visible; otherwise, FALSE.

Remarks

Call this method to determine whether a dockable pane is visible. You can use this method instead of calling CWnd::IsWindowVisible or testing for the WS_VISIBLE style. The returned visibility state depends on whether autohide mode is enabled or disabled and on the value of the CDockablePane::IsHideInAutoHideMode property.

If the dockable pane is in autohide mode and IsHideInAutoHideMode returns FALSE the visibility state is always FALSE.

If the dockable pane is in autohide mode and IsHideInAutoHideMode returns TRUE the visibility state depends on the visibility state of the related autohide toolbar.

If the dockable pane is not in autohide mode, the visibility state is determined by the CBasePane::IsVisible method.

Requirements

Header: afxDockablePane.h

See Also

Reference

CDockablePane Class

Hierarchy Chart

CMFCAutoHideBar Class