BCGControlBar Pro for MFC
DWORD CBCGPAppBarWnd::GetState ( )

Retrieves the auto-hide and always-on-top states of the application bar.

Returns
Returns zero if the task bar is not in auto-hide or always-on-top state. Otherwise, the return value is one or both of the following:
  • ABS_ALWAYSONTOP: The task bar is in the always-on-top state.
  • ABS_AUTOHIDE: The task bar is in the auto-hide state.

GetState is a wrapper function for the ABM_GETSTATE message. It calls the SHAppBarMessage function to retrieve the auto-hide and always-on-top states of the application bar.