Retrieves the size of a given window's client area.
WinGetClientSize ( "title" [, "text"] )
| title | The title of the window to read. See Title special definition. |
| text | [optional] The text of the window to read. |
| Success: | Returns a 2-element array containing the following information: |
| $array[0] = Width of window's client area | |
| $array[1] = Height of window's client area | |
| Failure: | Returns 0 and sets @error to 1 if windows is not found. |
Local $size = WinGetClientSize("[active]")
MsgBox(0, "Active window's client size is (width,height):", $size[0] & " " & $size[1])