uses<br> ShellAPI;<br><br>procedure TForm1.Button1Click(Sender: TObject);<br>var<br> abd:TAppBarData;<br>begin<br> abd.cbSize:=sizeof(abd);<br> SHAppBarMessage(ABM_GETTASKBARPOS,abd);<br> Caption:=IntToStr(abd.rc.Bottom-abd.rc.Top);<br>end;