Stores information about windows into an array.
AWindowsEx(cArrayName, cFlags, nType [, nParam])
Parameters
- cFlags (additive)
The position of the character determines the column position in the resulting array
Char Information W HWND C Class T Text S Style E ExStyle H HInstance P HWND of parent window D Userdata I ID R ThreadID O ProcessID V Visible N Iconic M Maximized U Unicode
- nType
One of the following values.
Type Description AWINDOWS_TOPLEVEL Returns top level windows. AWINDOWS_CHILD Returns child windows of the window passed in nParam. AWINDOWS_THREAD Returns windows owned by the thread passed in nParam. AWINDOWS_DESKTOP Returns windows contained in the desktop passed in nParam.
- nParam (optional)
Depending on the nType parameter this parameter should be on of the following values.
Type Meaning of this parameter AWINDOWS_TOPLEVEL Don't pass this parameter. AWINDOWS_CHILD A window handle for which to retrieve the child windows. AWINDOWS_THREAD A thread handle for which to retrieve the owned windows. AWINDOWS_DESKTOP A desktop handle for which to retrieve the contained windows.
Return Value
The number of windows.
See Also
Reference
AWindowProps
AWindows
CenterWindowEx
GetWindowRectEx
GetWindowTextEx
Used WinApi functions
EnumWindows if nType = AWINDOWS_TOPLEVEL
EnumChildWindows if nType = AWINDOWS_CHILD
EnumThreadWindows if nType = AWINDOWS_THREAD
EnumDesktopWindows if nType = AWINDOWS_DESKTOP
GetClassName
GetWindowText
GetWindowLong
GetParent
GetWindowThreadProcessId
IsWindowVisible
IsIconic
IsZoomed
IsWindowUnicode