ABM_GETSTATE

Retrieves the autohide and always-on-top states of the Windows taskbar.

fuState = (UINT) SHAppBarMessage(ABM_GETSTATE, pabd);

Parameters

pabd

Pointer to an APPBARDATA structure. You must specify the cbSize and hWnd members when sending this message; all other members are ignored.

Return Values

Returns zero if the taskbar is not in the autohide or always-on-top state. Otherwise, the return value is one or both of the following values:

ABS_ALWAYSONTOP The taskbar is in the always-on-top state.
ABS_AUTOHIDE The taskbar is in the autohide state.

See Also

APPBARDATA