Autor Beitrag
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Mi 21.12.05 15:18 
Und noch eine Frage :mrgreen:

Ich bräuchte für mein Programm eine möglichkeit herrauszufinden ob ein Fenster versteckt wird oder nicht mehr (SW_SHOW/SW_HIDE)

Suche habe ich benutzt, aber ohne die richtigen begriffe geht da ja nichts :D

greetz
Danny87
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 688

Windows 10 Pro 64bit
Sprachen: HTML, PHP, JavaScript, Delphi || IDE: RAD Studio 10.1 Berlin Starter, WeBuilder
BeitragVerfasst: Mi 21.12.05 15:23 
Meinst du so?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
if Form1.Visible = true then
  begin
  // Fenster ist sichtbar
  end
 else
  // Fenster ist versteckt (in taskleiste);
Born-to-Frag Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Mi 21.12.05 19:54 
Achso nein das habe ich schlecht beschrieben :oops:

Ich meine auch andere Programme. Wenn ich ein externes Programm mit ShowWindow() verstecke, wie kann ich prüfen ob es versteckt ist oder nicht?

greetz

EDIT: Vielleicht ist das immer noch undeutlich :D
Also ich will nicht überprüfen ob das mit SW_HIDE geklappt hat, sondern zu einem späteren Zeitpunkt überprüfen ob das Fenster immer noch versteckt ist oder wieder sichtbar ist :)

EDIT2: Glaub ich hab ne Möglichkeit gefunden :D Mal testen..

EDIT3: Nein hab nix :'(
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Do 22.12.05 00:27 

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!