Share via


CDockablePane::Slide

Animates a pane that is in autohide mode.

virtual void Slide(
    BOOL bSlideOut,
    BOOL bUseTimer = TRUE
);

Parameters

  • [in] bSlideOut
    TRUE to show the pane; FALSE to hide the pane.

  • [in] bUseTimer
    TRUE to show or hide the pane with the autohide effect; FALSE to show or hide the pane immediately.

Remarks

The framework calls this method to animate a pane that is in autohide mode.

This method uses the CDockablePane::m_nSlideDefaultTimeOut value to determine the time out for the slide effect. The default value for the time out is 1. If you customize the autohide algorithm, modify this member to change the time out.

Requirements

Header: afxDockablePane.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CDockablePane Class