###User Defined Function###
_GUICtrlAVI_Create

###Description###
Creates an AVI control

###Syntax###
#include <GuiAVI.au3>
_GUICtrlAVI_Create ( $hWnd [, $sFilePath = "" [, $iSubFileID = -1 [, $iX = 0 [, $iY = 0 [, $iWidth = 0 [, $iHeight = 0 [, $iStyle = 0x00000006 [, $iExStyle = 0x00000000]]]]]]]] )


###Parameters###
@@ParamTable@@
$hWnd
	Handle to parent or owner window
$sFilePath
	[optional] The filename of the video. Only .avi files are supported
$iSubFileID
	[optional] id of the subfile to be used.
$iX
	[optional] Horizontal position of the control
$iY
	[optional] Vertical position of the control
$iWidth
	[optional] Control width
$iHeight
	[optional] Control height
$iStyle
	[optional] Control styles:
		$ACS_CENTER - Centers the animation in the animation control's window
		$ACS_TRANSPARENT - Creates the control with a transparent background
		$ACS_AUTOPLAY - Starts playing the animation as soon as the AVI clip is opened
		$ACS_TIMER - The control plays the clip without creating a thread
	Default: $ACS_TRANSPARENT, $ACS_AUTOPLAY
	Forced: $WS_CHILD, $WS_VISIBLE
$iExStyle
	[optional] Control extended style. These correspond to the standard $WS_EX_* constants. See <a href="../appendix/GUIStyles.htm#Extended">Extended Style Table</a>.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	the handle of the animation control.
Failure:	0.
@@End@@


###Remarks###
This function is for Advanced users and for learning how the control works.


###Related###
_GUICtrlAVI_Destroy


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