ABM_SETAUTOHIDEBARABM_SETAUTOHIDEBAR*
*Contents  *Index  *Topic Contents
*Previous Topic: ABM_REMOVE
*Next Topic: ABM_SETPOS

ABM_SETAUTOHIDEBAR

Registers or unregisters an autohide appbar for an edge of the screen.

Syntax

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

Parameters

pabd
Address of an APPBARDATA structure. The uEdge member specifies the screen edge. The lParam parameter is set 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 Values

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 theAPPBARDATA structure is set.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.