Oops, Yonatan got ahead of me, while i was searching for my code, just change the smilies to ), they popped up because of this vbworld code [& )] error.

Ok this sample will enumerate the childwindows. But you need only to call the Getchild(Parenthwnd) function to get an array of all direct child to the parent.

Here a sample of how to use it:
Code:
Dim a,b&
 a=getchild(me.hwnd)
 for each b in a
  msgbox b
 next b
Note that a must be a variant, but you can use it as an array a()