DelphiFAQ Home Search:
General :: Windows :: Programming :: Windows with Delphi :: Windows Graphics
Graphics programming under Windows with Delphi.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

How to find out if the taskbar's auto hide feature is on

The easiest and fastest way to find out if the Windows taskbar's auto hide feature is on is to use the Windows SHAppBarMessage() function. Here's the Object Pascal code port:

uses
   ShellAPI;
 
 function TaskbarAutoHide : boolean;
 var
   ABData: TAppBarData;
 begin { TaskbarAutoHide }
   ABData.cbSize := SizeOf(ABData);
   Result := ((SHAppBarMessage(ABM_GETSTATE, ABData) and ABS_AUTOHIDE)>0)
 end; { TaskbarAutoHide }
 
You don't like the formatting? Check out SourceCoder then!