Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Alle Child-Handles einer Form (https://www.delphipraxis.net/36169-alle-child-handles-einer-form.html)

Neutral General 18. Dez 2004 14:19

Re: Alle Child-Handles einer Form
 
ok ich werds mal ausprobieren, und hoffe das es geht :mrgreen:

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;
?


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:33 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz