BCGControlBar Pro for MFC
BOOL CBCGPAppBarWnd::SetAutoHideBar ( UINT  uEdge,
BOOL  bRegister 
)

Register or unregister an auto-hide application bar

Returns
Returns TRUE if successful, or FALSE if an error occurs or if an auto-hide application bar is already registered for the given edge.

SetAutoHideBar is a wrapper function for the ABM_SETAUTOHIDEBAR message. It calls the SHAppBarMessage function to register or unregister an auto-hide application bar for a given edge of the screen.

uEdge can be one of the following values: ABE_TOP, ABE_BOTTOM, ABE_LEFT, or ABE_RIGHT.

Parameters
uEdgeSpecifies the edge of the screen the system application bar should be docked to.
bRegisterTRUE - register the application bar, FALSE - unregister the application bar.