![]() |
Eine Anwendung schließt die andere ?
hallo,
wie kann ich aus einer anwendung eine andere geöffnete anwendung schließen ? mfg vader |
Re: Eine Anwendung schließt die andere ?
Delphi-Quellcode:
WindowCaption ist die Caption von dem Fenster das du schließen willst..
var hwnd : THandle;
hwnd:=FindWindow(nil,WindowCaption); SendMessage(hwnd,WM_CLOSE,0,0); Ansonsten selbsterklärend denke ich.. |
Re: Eine Anwendung schließt die andere ?
hallo,
Zitat:
ich schließen will ?
Delphi-Quellcode:
var hwnd : THandle;
hwnd:=FindWindow(nil,[b]Digiuhr[/b]); SendMessage(hwnd,WM_CLOSE,0,0); mfg vader |
Re: Eine Anwendung schließt die andere ?
Yep.
Zitat:
ManuMF |
Re: Eine Anwendung schließt die andere ?
hallo,
danke hat funktioniert ! mfg vader |
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:50 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