![]() |
Positionsdaten der Taskleiste
Code:
Grüsse, Daniel :hi:
procedure TForm1.Button1Click(Sender: TObject);
var tl: HWnd; rah: TRect; begin tl := FindWindow('Shell_TrayWnd', nil); GetWindowRect(tl, rah); tl := FindWindow('Shell_TrayWnd', nil); GetWindowRect(tl, rah); ShowMessage('Die Taskleiste fängt Links bei ' + IntToStr(rah.Left) + ' an, geht Rechts bis ' + IntToStr(rah.Right) + ', von Oben aus gesehen, fängt sie bei ' + IntToStr(rah.Top) + ' an und endet Unten bei ' + IntToStr(rah.Bottom)); end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 15:20 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz