Example #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);
 }
Example #2
0
 /// <summary>
 ///     Gets all top level windows on the system.
 /// </summary>
 public void GetWindows()
 {
     Items = new EnumWindowsCollection();
     UnManagedMethods.EnumWindows(
         WindowEnum,
         0);
 }
Example #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);
 }
Example #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);
 }
Example #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);
 }
Example #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);
 }