ABM_GETSTATEABM_GETSTATE*
*Contents  *Index  *Topic Contents
*Previous Topic: ABM_GETAUTOHIDEBAR
*Next Topic: ABM_GETTASKBARPOS

ABM_GETSTATE

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

Syntax


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

Parameters

pabd
Address of 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:
ABS_ALWAYSONTOPThe taskbar is in the always-on-top state.
ABS_AUTOHIDEThe taskbar is in the autohide state.


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