Autor Beitrag
Rupert
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47
Erhaltene Danke: 1

Netware, Linux, WIN A-Z, DOS
Delphi 2005- Delphi 2009
BeitragVerfasst: Mo 09.02.09 14:34 
Hallo Leute!
Ich lese mich schon einige Zeit durch das Forum, kann aber mein Problem nicht lösen.

Was will ich:
Ich will ein Explorerfenster, ein Popup, auf den zweiten Bildschirm verschieben.

Getestet habe ich mit diesem Forum als Explorerfenster mit folgender Routine:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
begin
 hFenster := FindWindow(nil, PChar('Delphi-Forum.de'));
 if hFenster <> 0 then
   MoveWindow(hFenster, -12800800600, true)
 else
  ShowMessage('Progamm wurde nicht gefunden');
  halt;
end;


Ein Fenster mit dem Titel 'Delphi-Forum.de' wird nicht gefunden - steht aber im Haeder.
What´s wrong?
DeddyH
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 09.02.09 14:41 
Hast Du es schon einmal mit WinSpy versucht?
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: Mo 09.02.09 14:42 
versuch mal, mit [url=www.x-spy.net]X-Spy[/url] FindWindow code zu generieren. Der Titel des Fensters ist oftmals nicht das, was du für FindWindow brauchst.

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.
Rupert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47
Erhaltene Danke: 1

Netware, Linux, WIN A-Z, DOS
Delphi 2005- Delphi 2009
BeitragVerfasst: Mo 09.02.09 15:00 
Danke !!

X-Spy - Das ist ein Tool