Autor Beitrag
Taktaky
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 25



BeitragVerfasst: Di 25.09.07 01:24 
hallo,

mit dem Beispiel kann man ein Child-Fenster (TButton) in einem Fenster (Form) finden
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
procedure TForm1.Button1Click(Sender: TObject);
var
  FoundWindow: HWND;
  WindowText: array[0..255of char;
begin
  {Find a TButton child window}
  FoundWindow := FindWindowEx(Form1.Handle, 0'TButton'nil);
  {Get its text}
  GetWindowText(FoundWindow, WindowText, 255);
  {Display it}
  label1.Caption := 'FindWindowEx found window handle ' +
                     IntToStr(FoundWindow) + ': ' + WindowText;
end;


Wie kann man das Child-Fenster (geblendetes Video in HTML) finden, damit man das Video steuern (wie stoppen, anhalten, ... )
Bis jetzt habe ich nicht geschafft ! Wer hat eine Idee?

das Child-Fenster ist da :
members.lycos.co.uk/...ms/test/wmp/test.htm
(wenn das Video nicht angezeigt, dann bitte die seite mit IE öffnen)


Oder ist es nicht möglich, das Video zu steuern, wenn es so in HTML aufgebaut ist.
Das Video spielt immer mit Windows Media Payer in Hintergrund


Gruß

Moderiert von user profile iconNarses: Quote- durch Delphi-Tags ersetzt