CDockablePane::CheckStopSlideCondition

Determines when an autohide docking pane should stop sliding.

virtual BOOL CheckStopSlideCondition(
    BOOL bDirection 
);

Parameters

  • [in] bDirection
    TRUE if the pane is visible; FALSE if the pane is hidden.

Return Value

TRUE if the stop condition is met; otherwise, FALSE.

Remarks

When a dockable pane is set to autohide mode, the framework uses sliding effects to show or hide the pane. The framework calls this function when the pane is sliding. CheckStopSlideCondition returns TRUE when the pane is fully visible or when it is fully hidden.

Override this method in a derived class to implement custom autohide effects.

Requirements

Header: afxDockablePane.h

See Also

Reference

CDockablePane Class

Hierarchy Chart

CDockablePane::OnSlide

CDockablePane::Slide