public ArrayList getEnumChildWindows(IntPtr myhwnd) { list = new ArrayList(); ChildCallBack myCallBack = new ChildCallBack(ChildReport); EnumChildWindows(myhwnd, myCallBack, 0); return(list); }
public static extern int EnumChildWindows(int hWndParent, ChildCallBack lpfn, int lParam);
public static extern bool EnumChildWindows(IntPtr hwndParent, ChildCallBack x, int lParam);