Esempio n. 1
0
        public List <HwndObject> GetChildren()
        {
            List <HwndObject> list = new List <HwndObject>();

            foreach (IntPtr ptr in HwndInterface.EnumChildren(this.Hwnd))
            {
                list.Add(new HwndObject(ptr));
            }
            return(list);
        }
Esempio n. 2
0
        /// <summary>
        /// Seeks all children of this Hwnd Object.
        /// </summary>
        /// <returns></returns>
        public List <HwndObject> GetChildren()
        {
            var result = new List <HwndObject>();

            foreach (var hwnd in HwndInterface.EnumChildren(NativePtr))
            {
                result.Add(new HwndObject(hwnd));
            }
            return(result);
        }
Esempio n. 3
0
 /// <summary>
 /// Seeks all children of this Hwnd Object.
 /// </summary>
 /// <returns></returns>
 public List <HwndObject> GetChildren()
 {
     return(GetWindows(HwndInterface.EnumChildren(Hwnd)));
 }