Esempio n. 1
0
 /// <summary>
 /// Gets all top level windows on the system.
 /// </summary>
 public void GetWindows()
 {
     this.items = new EnumWindowsCollection();
     UnManagedMethods.EnumWindows(
         new EnumWindowsProc(this.WindowEnum),
         0);
 }
Esempio n. 2
0
 /// <summary>
 ///     Gets all top level windows on the system.
 /// </summary>
 public void GetWindows()
 {
     Items = new EnumWindowsCollection();
     UnManagedMethods.EnumWindows(
         WindowEnum,
         0);
 }
Esempio n. 3
0
 /// <summary>
 /// Gets all child windows of the specified window
 /// </summary>
 /// <param name="hWndParent">Window Handle to get children for</param>
 public void GetWindows(
     IntPtr hWndParent)
 {
     this.items = new EnumWindowsCollection();
     UnManagedMethods.EnumChildWindows(
         hWndParent,
         new EnumWindowsProc(this.WindowEnum),
         0);
 }
Esempio n. 4
0
 /// <summary>
 ///     Gets all child windows of the specified window
 /// </summary>
 /// <param name="hWndParent">Window Handle to get children for</param>
 public void GetWindows(
     IntPtr hWndParent)
 {
     Items = new EnumWindowsCollection();
     UnManagedMethods.EnumChildWindows(
         hWndParent,
         WindowEnum,
         0);
 }
Esempio n. 5
0
 /// <summary>
 /// Gets all child windows of the specified window
 /// </summary>
 /// <param name="hWndParent">Window Handle to get children for</param>
 public void GetWindows(
     IntPtr hWndParent)
 {
     this.items = new EnumWindowsCollection();
     UnManagedMethods.EnumChildWindows(
         hWndParent,
         new EnumWindowsProc(this.WindowEnum),
         0);
 }
Esempio n. 6
0
 /// <summary>
 /// Gets all top level windows on the system.
 /// </summary>
 public void GetWindows()
 {
     this.items = new EnumWindowsCollection();
     UnManagedMethods.EnumWindows(
         new EnumWindowsProc(this.WindowEnum),
         0);
 }