###User Defined Function###
_WinAPI_DwmExtendFrameIntoClientArea

###Description###
Extends the window frame behind the client area.

###Syntax###
#include <WinAPIGdi.au3>
_WinAPI_DwmExtendFrameIntoClientArea ( $hWnd [, $tMARGINS = 0] )


###Parameters###
@@ParamTable@@
$hWnd
	Handle to the window for which the frame is extended into the client area.
$tMARGINS
	[optional] $tagMARGINS structure that describes the margins to use when extending the frame into the client area.
	Negative margins are used to create the "sheet of glass" effect where the client area is rendered as a solid surface with no window border (Default).
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	1.
Failure 	0 and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.
@@End@@


###Remarks###
This function must be called whenever Desktop Window Manager (DWM) composition is toggled.
Handle the WM_DWMCOMPOSITIONCHANGED message for composition change notification.

This function requires <strong>Windows Vista or later</strong>.


###Related###


###See Also###
@@MsdnLink@@ DwmExtendFrameIntoClientArea


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