###User Defined Function###
_WinAPI_GetEffectiveClientRect

###Description###
Calculates the dimensions of a rectangle in the client area that contains all the specified controls.

###Syntax###
#include <WinAPISys.au3>
_WinAPI_GetEffectiveClientRect ( $hWnd, $aCtrl [, $iStart = 0 [, $iEnd = -1]] )


###Parameters###
@@ParamTable@@
$hWnd
	A handle to the window that has the client area to check.
$aCtrl
	The array containing the handles or identifiers of the controls that should be included in the calculation of the client area. Also, it can be a single handle or control identifier.
$iStart
	[optional] The index of array element that contains the first control.
$iEnd
	[optional] The index of array element that contains the last control.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	$tagRECT structure that contains the rectangle with effective client area.
Failure 	Sets the @error flag to non-zero.
@@End@@


###Remarks###
If the control in the array is visible, or will be visible when its parent becomes visible, its rectangle is subtracted from the effective client rectangle.

If all the specified controls is missing, the function returns the client area of the parent window.


###Related###


###See Also###
@@MsdnLink@@ GetEffectiveClientRect


###Example###
@@IncludeExample@@
