On a request from a user, and others I've seen lately, if you want to get the ClassNameNN or the Control ID of all the controls from a window... This should return them all in a 2 dimensional Array.
[N] = ClassNameNN
[N] = Control ID of the same control
Global $Array = _WinGetCtrlInfo(WinGetTitle(''))
Global $sOne = ' = ' & $Array & @CR, $sTwo
For $iCC = 1 To $Array
$sOne &= '[' & $iCC & '] = ' & $Array[$iCC] & @C