###Function###
WinGetHandle

###Description###
Retrieves the internal handle of a window.

###Syntax###
WinGetHandle ( "title" [, "text"] )


###Parameters###
@@ParamTable@@
title
	The title/hWnd/class of the window to get the handle. See <a href="../intro/windowsadvanced.htm">Title special definition</a>.
text
	[optional] The text of the window to get the handle. Default is an empty string. See <a href="../intro/windowsbasic.htm#specialtext">Text special definition</a>.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	a handle to the window.
Failure:	sets the @error flag to non-zero if the window is not found.
@@End@@


###Remarks###
This function allows you to use handles to specify windows rather than "title" and "text".
Once you have obtained the handle you can access the required window even if its title changes.


###Related###
GUICreate, WinList, WinSetTitle


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