ABM_SETAUTOHIDEBAR message

Registers or unregisters an autohide appbar for a given edge of the screen. If the system has multiple monitors, the monitor that contains the primary taskbar is used.

Note

To register or unregister an autohide appbar on a specific monitor, use ABM_SETAUTOHIDEBAREX.

fSuccess = (BOOL) SHAppBarMessage(ABM_SETAUTOHIDEBAR, pabd); 

Parameters

pabd

A pointer to an APPBARDATA structure. Set the lParam member to TRUE to register the appbar or FALSE to unregister it. You must specify the cbSize, hWnd, uEdge, and lParam members when sending this message; all other members are ignored.

Return value

Returns TRUE if successful, or FALSE if an error occurs or if an autohide appbar is already registered for the given edge.

Remarks

The system allows only one autohide appbar for each edge of the screen. This is determined when the member uEdge of the APPBARDATA structure is set.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Shellapi.h

See also

ABM_SETAUTOHIDEBAR

ABM_GETAUTOHIDEBAREX

ABM_SETAUTOHIDEBAREX