BCGControlBar Pro for MFC
BOOL CBCGPAppBarWnd::SetAutoHide ( BOOL  bEnable)

Enable or disable auto-hiding.

Returns
Nonzero if the function succeeds; otherwise 0.

Use this function to enable or disable the auto-hiding. When the auto-hide mode is enabled, the application bar auto-hides itself when it's docked. The application bar auto-hides when it loses the activation or loses the mouse cursor. It shows when activated or when it is hovered by the mouse cursor.

Parameters
bEnableSpecifies whether auto-hide mode should be enabled or not