共用方式為


CDockablePane::CheckAutoHideCondition

Determines whether the docking pane is hidden (also known as autohide mode).

virtual BOOL CheckAutoHideCondition();

Return Value

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

Remarks

The framework uses a timer to periodically check whether to hide an autohide dockable pane. The method returns TRUE when the pane is not active, the pane is not being resized, and the mouse pointer is not over the pane.

If all the previous conditions are met, the framework calls CDockablePane::Slide to hide the pane.

Requirements

Header: afxDockablePane.h

See Also

Reference

CDockablePane Class

Hierarchy Chart