HWND h=GetWindow(Handle,GW_HWNDFIRST); while(h) { GetWindowText(h,s,255); Memo1->Lines->Add(AnsiString(s)); h=GetWindow(h,GW_HWNDNEXT); }