Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#1

Re: Alle Child-Handles einer Form

  Alt 18. Dez 2004, 15:19
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."
  Mit Zitat antworten Zitat