Einzelnen Beitrag anzeigen

Benutzerbild von Cylence
Cylence

Registriert seit: 2. Sep 2004
Ort: Allgäu
246 Beiträge
 
Delphi 7 Enterprise
 
#4

Re: JVCreateProcess und Show Window

  Alt 8. Dez 2009, 13:15
Hi,

habs eben so hinbekommen:

Delphi-Quellcode:

var
  ProcessHandle : THandle;
begin
  try
    ProcessHandle := FindWindow(nil,PChar('BlackMirror'+IntToStr(ARow)));
    if IsWindowVisible(ProcessHandle)
     then ShowWindow(ProcessHandle , SW_HIDE)
     else ShowWindow(ProcessHandle , SW_SHOW);
  except

  end;
end;
Gruß

tom
Tom
Just DO it
  Mit Zitat antworten Zitat