Check if Windows taskbar's auto hide feature enabled

简介:
uses  ShellAPI; 


If the taskbar auto-hide feature is enabled, you get TRUE from 
function "IsTaskBarautoHideOn". 
}
 


function  IsTaskbarAutoHideOn : boolean; 
var  
  ABData : TAppBarData; 
begin  
  ABData.cbSize := sizeof(ABData); 
  Result := 
    (SHAppBarMessage(ABM_GETSTATE, ABData) 

     and ABS_AUTOHIDE) > 0; 




    本文转自 OldHawk  博客园博客,原文链接:http://www.cnblogs.com/taobataoma/archive/2007/08/20/862672.html,如需转载请自行联系原作者


相关文章
|
5月前
[√]addr2line
[√]addr2line
71 0
|
6月前
|
API
Deliver by interactive card server error
Deliver by interactive card server error
42 2
|
测试技术
loadrunner 运行脚本-Run-time Settings->General->Additional attributes设置
loadrunner 运行脚本-Run-time Settings->General->Additional attributes设置
77 0
|
iOS开发
Xcode报错:Failed to find a suitable device for the type SimDeviceType解决方法
Xcode报错:Failed to find a suitable device for the type SimDeviceType解决方法
182 0
|
JSON 数据格式 容器
UI5 table的三种工作模式:VisibleRowCountMode, Fixed, Auto和Interactive
UI5 table的三种工作模式:VisibleRowCountMode, Fixed, Auto和Interactive
133 0
UI5 table的三种工作模式:VisibleRowCountMode, Fixed, Auto和Interactive
custom field further usage - add into UI and report
custom field further usage - add into UI and report
113 0
custom field further usage - add into UI and report