Autor Beitrag
inselberg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458



BeitragVerfasst: Di 05.04.05 06:23 
hi,

wo genau liegt der unterschied ob ich mir selbst ein minimize sende oder auf eben dieses klicke

verkleinert werden die fenster zwar im 2. fall habe ich jedoch keinen eintrag mehr in der taskbar.

gruss

_________________
hans bist du das ?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Do 07.04.05 15:04 
Der Unterschied liegt darin, dass du, wenn du in deinem Fenster auf minimieren klickst, dieses Fenster bedienst.
Im Hintergrund gibt es jedoch noch ein nicht sichtbares Fenster, nämlich das Application-Window. (Kann man zum Beispiel in Spy++ sehen)

Jedenfalls sprichst du mit Application.Handle dieses unsichtbare Fenster an, nicht jedoch das Fenster, das du siehst...
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Do 07.04.05 15:14 
IIRC gibt es eine Methode Application.Minimize oder ähnlich, das minimiert die eigene Anwendung the nice way ;-)

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Do 07.04.05 15:36 
Application.Hide
und
Application.Show
verstecken die Anwendung (aus der Taskleiste) bzw. zeigen sie wieder an...