Windows with Delphi Windows API (94) Windows Filesystem (41) Windows Forms (69) Windows Graphics (38)
Exchange Links About this site Links to us 
|
Does the taskbar automatically hide?
This article has not been rated yet. After reading, feel free to leave comments and rate it.
To determine the size of the available screen estate in Delphi 3 or earlier, you need to know whether the taskbar is visible or not.
Here's a simple function to check for this:
 | |  | | function IsTaskbarAutoHideOn : Boolean;
var
ABData : TAppBarData;
begin
ABData.cbSize := SizeOf (ABData);
result := (SHAppBarMessage (ABM_GETSTATE, ABData) and ABS_AUTOHIDE) > 0
end;
| |  | |  |
Comments:
|