Share via


CBasePane::CanAutoHide

Determines whether the pane supports auto-hide mode.

virtual BOOL CanAutoHide() const;

Return Value

TRUE if this pane supports auto-hide mode; otherwise FALSE.

Remarks

The framework calls this function to determine whether the pane supports auto-hide mode.

During construction, you can set this ability by passing the AFX_CBRS_AUTOHIDE flag to CBasePane::CreateEx.

The default implementation checks for the AFX_CBRS_AUTOHIDE flag. Override this method in a derived class to customize this behavior.

Requirements

Header: afxbasepane.h

See Also

Reference

CBasePane Class

Hierarchy Chart