System Delphi

Title: How to check if taskbar autohide feature is enabled
uses
ShellAPI;
function IsTaskbarAutoHideOn: Boolean;
var
ABData: TAppBarData;
begin
ABData.cbSize := SizeOf(ABData);
Result := (SHAppBarMessage(ABM_GETSTATE, ABData) and ABS_AUTOHIDE) 0;
end;