ok ich werds mal ausprobieren, und hoffe das es geht
Also ginge das dann z.B so :
Delphi-Quellcode:
function EnumWindowsCallBack(Window: hWnd; lParam: LPARAM): Boolean; stdcall;
begin
ListBox1.Items.Add(IntToStr(hwnd));
EnumChildWindows(Window, @EnumWindowsCallback,lparam);
end;
procedure TForm1.Button1Click(Sender : TObject);
begin
EnumChildWindows(Form1.Handle,@EnumWindowsCallBack,{was muss hier hin ?});
end;
?
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."