![]() |
Re: CPU-Auslastung
Zitat:
Edit: Problem gelöst! Funktion:
Delphi-Quellcode:
Restliches:
function GetTaskbarHeight: integer;
var SysTray: Windows.HWND; Rect: TRect; begin Result := -1; SysTray := FindWindow('Shell_TrayWnd', nil); If SysTray <> INVALID_HANDLE_VALUE then begin If GetWindowRect(SysTray, Rect) then begin Result := Screen.Height - Rect.Top; end; end; end;
Delphi-Quellcode:
hoehe := screen.Monitors[0].Height;
breite := screen.Monitors[0].Width; Form3.Top := hoehe-50-StrToInt(Label17.Caption); // Form3 ist 50 pixel hoch Form3.Left := breite-272; // und 272 pixel breit Form3.Show; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:36 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-2025 by Thomas Breitkreuz