...check if taskbar autohide feature is enabled?

Author: Simon Grossenbacher
Homepage: http://www.swissdelphicenter.ch

Category: System

uses
  
ShellAPI;

function IsTaskbarAutoHideOn: Boolean;
var
  
ABData: TAppBarData;
begin
  
ABData.cbSize := SizeOf(ABData);
  Result        := (SHAppBarMessage(ABM_GETSTATE, ABData) and ABS_AUTOHIDE) > 0;
end;

 

printed from
www.swissdelphicenter.ch
developers knowledge base