###User Defined Function###
_WinAPI_GetDlgItem

###Description###
Retrieves the handle of a control in the specified dialog box

###Syntax###
#include <WinAPI.au3>
_WinAPI_GetDlgItem ( $hWnd, $iItemID )


###Parameters###
@@ParamTable@@
$hWnd
	Handle to the dialog box
$iItemID
	Specifies the identifier of the control to be retrieved
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	The window handle of the given control
Failure:	0, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information
@@End@@


###Remarks###
You can use the GetDlgItem function with any parent-child window pair, not just with dialog boxes.
As long as the $hWnd parameter specifies a parent window and the child window has a unique identifier, GetDlgItem returns a valid handle to the child window.


###Related###


###See Also###
@@MsdnLink@@ GetDlgItem


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