Редагувати

Поділитися через


ABM_GETAUTOHIDEBAR message

Retrieves the handle to the autohide appbar associated with an edge of the screen. If the system has multiple monitors, the monitor that contains the primary taskbar is used.

Note

To query for an autohide appbar on a specific monitor, use ABM_GETAUTOHIDEBAREX.

hwndAutoHide = (HWND) SHAppBarMessage(ABM_GETAUTOHIDEBAR, pabd);

Parameters

pabd

A pointer to an APPBARDATA structure that specifies the screen edge. You must specify the cbSize and uEdge members when sending this message; all other members are ignored.

Return value

Returns the handle to the autohide appbar. The return value is NULL if an error occurs or if no autohide appbar is associated with the given edge.

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