#include <Array.au3>
#include <WinAPIEx.au3>
$sTitle = 'Заголовок Вашего окна'
If WinExists($sTitle) Then
$hWin = WinGetHandle($sTitle)
If Not $hWin Then
MsgBox(16, 'Error', 'Error -1')
Exit
EndIf
Else
MsgBox(16, 'Error', 'Нет окна ' & $sTitle)
Exit
EndIf
$aData = _WinAPI_EnumChildWindows($hWin, 0)
If Not @error Then
ReDim $aData[$aData[0][0] + 1][3]
$aData[0][1] = 'Class'
$aData[0][2] = 'ID'
For $i = 1 To $aData[0][0]
$aData[$i][2] = _WinAPI_GetDlgCtrlID($aData[$i][0])
Next
_ArrayDisplay($aData)
Else
MsgBox(16, 'Error', 'Error -2')
EndIf